public static enum SyncSession.State extends Enum<SyncSession.State>
Enum Constant and Description |
---|
ACTIVE |
DYING |
ERROR |
INACTIVE |
WAITING_FOR_ACCESS_TOKEN |
Modifier and Type | Method and Description |
---|---|
static SyncSession.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncSession.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncSession.State WAITING_FOR_ACCESS_TOKEN
public static final SyncSession.State ACTIVE
public static final SyncSession.State DYING
public static final SyncSession.State INACTIVE
public static final SyncSession.State ERROR
public static SyncSession.State[] values()
for (SyncSession.State c : SyncSession.State.values()) System.out.println(c);
public static SyncSession.State 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