public enum NotificationService extends java.lang.Enum<NotificationService>
| Modifier and Type | Method and Description |
|---|---|
static NotificationService |
getByName(java.lang.String service) |
java.lang.String |
getName() |
static NotificationService |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationService GCM
public static final NotificationService APNS
public static NotificationService[] values()
for (NotificationService c : NotificationService.values()) System.out.println(c);
public static NotificationService 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 java.lang.String getName()
public static NotificationService getByName(java.lang.String service)