public enum NotificationRequestError extends java.lang.Enum<NotificationRequestError>
| Enum Constant and Description |
|---|
BadMethod |
BadRequest |
DeviceTokenInactiveForTopic |
InternalServerError |
InvalidProviderToken |
PayloadTooLarge |
ServerUnavailable |
TooManyRequestsForToken |
| Modifier and Type | Field and Description |
|---|---|
int |
errorCode |
| Modifier and Type | Method and Description |
|---|---|
static NotificationRequestError |
get(int errorCode) |
static NotificationRequestError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationRequestError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationRequestError BadRequest
public static final NotificationRequestError BadMethod
public static final NotificationRequestError DeviceTokenInactiveForTopic
public static final NotificationRequestError PayloadTooLarge
public static final NotificationRequestError TooManyRequestsForToken
public static final NotificationRequestError InternalServerError
public static final NotificationRequestError ServerUnavailable
public static final NotificationRequestError InvalidProviderToken
public static NotificationRequestError[] values()
for (NotificationRequestError c : NotificationRequestError.values()) System.out.println(c);
public static NotificationRequestError valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static NotificationRequestError get(int errorCode)
Copyright © 2020. All Rights Reserved.