| java.lang.Object | |
| ↳ | com.google.firebase.messaging.SendResponse |
The result of an individual send operation that was executed as part of a batch. See
BatchResponse for more details.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| FirebaseMessagingException |
getException()
Returns an exception if the send operation failed.
| ||||||||||
| String |
getMessageId()
Returns a message ID string if the send operation was successful.
| ||||||||||
| boolean |
isSuccessful()
Returns whether the send operation was successful or not.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns an exception if the send operation failed. Otherwise returns null.
FirebaseMessagingException or null.
Returns a message ID string if the send operation was successful. Otherwise returns null.
Returns whether the send operation was successful or not. When this method returns true,
getMessageId() is guaranteed to return a non-null value. When this method returns
false getException() is guaranteed to return a non-null value.