public enum ListenerState extends java.lang.Enum<ListenerState>
TRIGGER_ME
OnStartedRequestListener
,
OnFailedRequestListener
,
OnSucceededRequestListener
Enum Constant and Description |
---|
SET |
TRIGGER_ME |
TRIGGERED |
UNSET |
Modifier and Type | Method and Description |
---|---|
static ListenerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListenerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerState SET
public static final ListenerState UNSET
public static final ListenerState TRIGGER_ME
public static final ListenerState TRIGGERED
public static ListenerState[] values()
for (ListenerState c : ListenerState.values()) System.out.println(c);
public static ListenerState 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