The result of an individual send operation that was executed as part of a batch. See
BatchResponse for more details.
Public Method Summary
| 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.
|
Inherited Method Summary
Public Methods
public FirebaseMessagingException getException ()
Returns an exception if the send operation failed. Otherwise returns null.
Returns
- A
FirebaseMessagingExceptionor null.
public String getMessageId ()
Returns a message ID string if the send operation was successful. Otherwise returns null.
Returns
- A message ID string or null.
public boolean isSuccessful ()
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.
Returns
- A boolean indicating success of the operation.