public static enum Notification.NotificationAction extends java.lang.Enum<Notification.NotificationAction>
Modifier and Type | Method and Description |
---|---|
static Notification.NotificationAction |
forValue(java.lang.String value) |
java.lang.String |
toValue() |
static Notification.NotificationAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Notification.NotificationAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.NotificationAction ENTER
public static final Notification.NotificationAction STAY
public static final Notification.NotificationAction LEAVE
public static final Notification.NotificationAction NEARBY
public static Notification.NotificationAction[] values()
for (Notification.NotificationAction c : Notification.NotificationAction.values()) System.out.println(c);
public static Notification.NotificationAction 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 Notification.NotificationAction forValue(java.lang.String value)
public java.lang.String toValue()