public enum LoginScreenState extends java.lang.Enum<LoginScreenState> implements LoginScreenState
Enum Constant and Description |
---|
INITIAL
The client is at the initial login screen (new user or existing user screen).
|
INVALID_CREDENTIALS
The client is at the username and/or password is incorrect screen.
|
LOGIN_SCREEN
The client is at the login screen and can enter an username and password.
|
LOGIN_SCREEN_AUTHENTICATOR
The client is at the enter 6-digit code authenticator screen.
|
LOGIN_SCREEN_BANNED
The client is at the banned screen.
|
LOGIN_SCREEN_DISCONNECT
The client is at the disconnected screen.
|
LOGIN_SCREEN_FORGOT
The client is at the forgot password screen.
|
UNKNOWN
Unknown login state.
|
Modifier and Type | Method and Description |
---|---|
int |
getState() |
static LoginScreenState |
of(int state) |
static LoginScreenState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginScreenState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
is
public static final LoginScreenState UNKNOWN
public static final LoginScreenState INITIAL
public static final LoginScreenState LOGIN_SCREEN
public static final LoginScreenState INVALID_CREDENTIALS
public static final LoginScreenState LOGIN_SCREEN_AUTHENTICATOR
public static final LoginScreenState LOGIN_SCREEN_FORGOT
public static final LoginScreenState LOGIN_SCREEN_BANNED
public static final LoginScreenState LOGIN_SCREEN_DISCONNECT
public static LoginScreenState[] values()
for (LoginScreenState c : LoginScreenState.values()) System.out.println(c);
public static LoginScreenState 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 getState()
getState
in interface LoginScreenState
public static LoginScreenState of(int state)