public enum NotificationType extends Enum<NotificationType>
| Enum Constant and Description |
|---|
Badge |
Leaderboard |
Mayorship |
Message |
Score |
Tip |
TipAlert |
| Modifier and Type | Method and Description |
|---|---|
static NotificationType |
getByName(String name)
Returns NotificationType by JSON name
|
String |
getName()
Returns JSON name
|
static NotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationType Badge
public static final NotificationType Tip
public static final NotificationType TipAlert
public static final NotificationType Leaderboard
public static final NotificationType Mayorship
public static final NotificationType Message
public static final NotificationType Score
public static NotificationType[] values()
for (NotificationType c : NotificationType.values()) System.out.println(c);
public static NotificationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getName()
public static NotificationType getByName(String name)
name - JSON nameCopyright © 2014 Foyt. All Rights Reserved.