public final enum

MessagingErrorCode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.google.firebase.messaging.MessagingErrorCode

Class Overview

Error codes that can be raised by the Cloud Messaging APIs.

Summary

Enum Values
MessagingErrorCode  INTERNAL  Internal server error. 
MessagingErrorCode  INVALID_ARGUMENT  One or more arguments specified in the request were invalid. 
MessagingErrorCode  QUOTA_EXCEEDED  Sending limit exceeded for the message target. 
MessagingErrorCode  SENDER_ID_MISMATCH  The authenticated sender ID is different from the sender ID for the registration token. 
MessagingErrorCode  THIRD_PARTY_AUTH_ERROR  APNs certificate or web push auth key was invalid or missing. 
MessagingErrorCode  UNAVAILABLE  Cloud Messaging service is temporarily unavailable. 
MessagingErrorCode  UNREGISTERED  App instance was unregistered from FCM. 
Public Methods
static MessagingErrorCode valueOf(String name)
final static MessagingErrorCode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final MessagingErrorCode INTERNAL

Internal server error.

public static final MessagingErrorCode INVALID_ARGUMENT

One or more arguments specified in the request were invalid.

public static final MessagingErrorCode QUOTA_EXCEEDED

Sending limit exceeded for the message target.

public static final MessagingErrorCode SENDER_ID_MISMATCH

The authenticated sender ID is different from the sender ID for the registration token.

public static final MessagingErrorCode THIRD_PARTY_AUTH_ERROR

APNs certificate or web push auth key was invalid or missing.

public static final MessagingErrorCode UNAVAILABLE

Cloud Messaging service is temporarily unavailable.

public static final MessagingErrorCode UNREGISTERED

App instance was unregistered from FCM. This usually means that the token used is no longer valid and a new one must be used.

Public Methods

public static MessagingErrorCode valueOf (String name)

public static final MessagingErrorCode[] values ()