public static enum SwarmNotification.NotificationType extends java.lang.Enum<SwarmNotification.NotificationType>
Enum Constant and Description |
---|
ACHIEVEMENT |
FRIEND |
GOT_COINS |
LEADERBOARD |
MESSAGE |
ONLINE |
PURCHASE |
Modifier and Type | Method and Description |
---|---|
static SwarmNotification.NotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SwarmNotification.NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwarmNotification.NotificationType FRIEND
public static final SwarmNotification.NotificationType MESSAGE
public static final SwarmNotification.NotificationType ONLINE
public static final SwarmNotification.NotificationType ACHIEVEMENT
public static final SwarmNotification.NotificationType PURCHASE
public static final SwarmNotification.NotificationType GOT_COINS
public static final SwarmNotification.NotificationType LEADERBOARD
public static SwarmNotification.NotificationType[] values()
for (SwarmNotification.NotificationType c : SwarmNotification.NotificationType.values()) System.out.println(c);
public static SwarmNotification.NotificationType 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 null