public enum SyncState extends java.lang.Enum<SyncState>
SyncClientImpl.getSyncState().| Enum Constant and Description |
|---|
CONNECTED |
CREATED |
DEAD |
DISCONNECTED |
LOGGED_IN |
STARTED |
STOPPED |
UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
int |
id |
| Modifier and Type | Method and Description |
|---|---|
static SyncState |
fromId(int id) |
static SyncState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyncState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncState UNKNOWN
public static final SyncState CREATED
public static final SyncState STARTED
public static final SyncState CONNECTED
public static final SyncState LOGGED_IN
public static final SyncState DISCONNECTED
public static final SyncState STOPPED
public static final SyncState DEAD
public static SyncState[] values()
for (SyncState c : SyncState.values()) System.out.println(c);
public static SyncState 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 static SyncState fromId(int id)