public enum ActivityEvent extends Enum<ActivityEvent>
| Enum Constant and Description |
|---|
CREATE |
DESTROY |
PAUSE |
RESUME |
START |
STOP |
| Modifier and Type | Method and Description |
|---|---|
static ActivityEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityEvent CREATE
public static final ActivityEvent START
public static final ActivityEvent RESUME
public static final ActivityEvent PAUSE
public static final ActivityEvent STOP
public static final ActivityEvent DESTROY
public static ActivityEvent[] values()
for (ActivityEvent c : ActivityEvent.values()) System.out.println(c);
public static ActivityEvent 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 null