| Enum Constant and Description |
|---|
ACTIVE |
GRACEFUL_SHUTDOWN |
INIT |
MANUAL_QUITTED |
MANUAL_QUITTING |
MANUAL_STOPPED |
MANUAL_STOPPING |
NETWORK_STOPPED |
NETWORK_STOPPING |
RUNNING |
STARTING |
STOPPED |
STOPPING |
WAITING |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<State> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final State INIT
public static final State WAITING
public static final State STARTING
public static final State RUNNING
public static final State ACTIVE
public static final State STOPPING
public static final State STOPPED
public static final State MANUAL_STOPPING
public static final State MANUAL_STOPPED
public static final State MANUAL_QUITTING
public static final State MANUAL_QUITTED
public static final State NETWORK_STOPPING
public static final State NETWORK_STOPPED
public static final State GRACEFUL_SHUTDOWN
public static final android.os.Parcelable.Creator<State> CREATOR
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static State 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 int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable