java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | com.google.firebase.messaging.SendException |
Firebase message send exception.
This will be passed to onSendError(String, Exception)
on errors that prevented a
message from being sent via send(RemoteMessage)
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ERROR_INVALID_PARAMETERS | * Message was sent with invalid parameters. | |||||||||
int | ERROR_SIZE | * Message exceeded the maximum payload size. | |||||||||
int | ERROR_TOO_MANY_MESSAGES | * App has too many pending messages so this one was dropped. | |||||||||
int | ERROR_TTL_EXCEEDED | * Message time to live (TTL) was exceeded before the message could be sent. | |||||||||
int | ERROR_UNKNOWN | * Unknown error. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
* Message was sent with invalid parameters.
* Message exceeded the maximum payload size.
* App has too many pending messages so this one was dropped.
* Message time to live (TTL) was exceeded before the message could be sent.
* Unknown error.
Returns | |
---|---|
int |