protected static enum AbstractGcmIntentService.MessageType extends java.lang.Enum<AbstractGcmIntentService.MessageType>
Enum Constant and Description |
---|
DIRECT_PUSH
'Direct Push' notifications
|
PUSH_TO_APP
'Push to App' notifications
|
PUSH_TO_USER
'Push to User' notifications
|
Modifier and Type | Method and Description |
---|---|
static AbstractGcmIntentService.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractGcmIntentService.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractGcmIntentService.MessageType DIRECT_PUSH
public static final AbstractGcmIntentService.MessageType PUSH_TO_APP
public static final AbstractGcmIntentService.MessageType PUSH_TO_USER
public static AbstractGcmIntentService.MessageType 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 AbstractGcmIntentService.MessageType[] values()
for (AbstractGcmIntentService.MessageType c : AbstractGcmIntentService.MessageType.values()) System.out.println(c);