public enum LifecycleEvent extends java.lang.Enum<LifecycleEvent>
| Enum Constant and Description |
|---|
CREATED |
DESTROYED |
PAUSED |
RESUMED |
SAVE_INSTANCE_STATE |
STARTED |
STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static LifecycleEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleEvent CREATED
public static final LifecycleEvent STARTED
public static final LifecycleEvent RESUMED
public static final LifecycleEvent PAUSED
public static final LifecycleEvent STOPPED
public static final LifecycleEvent SAVE_INSTANCE_STATE
public static final LifecycleEvent DESTROYED
public static LifecycleEvent[] values()
for (LifecycleEvent c : LifecycleEvent.values()) System.out.println(c);
public static LifecycleEvent 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