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