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
Object |
clone()
|
boolean |
equals(Object arg0)
|
void |
finalize()
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public FirebaseMessagingException getException ()
Returns an exception if the send operation failed. Otherwise returns null.
Returns
- A
FirebaseMessagingException
or 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.