public static enum Client.LoginState extends java.lang.Enum<Client.LoginState>
Enum Constant and Description |
---|
LOGGED_OUT |
LOGIN_APPROVING |
LOGIN_CONNECTING |
LOGIN_SENT |
LOGIN_SUCCESSFUL |
LOGIN_TRANSFERRING_PROFILE |
OTHER |
Modifier and Type | Method and Description |
---|---|
static Client.LoginState |
forState(int state) |
static Client.LoginState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Client.LoginState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.LoginState OTHER
public static final Client.LoginState LOGGED_OUT
public static final Client.LoginState LOGIN_SENT
public static final Client.LoginState LOGIN_CONNECTING
public static final Client.LoginState LOGIN_APPROVING
public static final Client.LoginState LOGIN_TRANSFERRING_PROFILE
public static final Client.LoginState LOGIN_SUCCESSFUL
public static Client.LoginState[] values()
for (Client.LoginState c : Client.LoginState.values()) System.out.println(c);
public static Client.LoginState 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 Client.LoginState forState(int state)