public enum YWLoginState extends Enum<YWLoginState>
| Enum Constant and Description |
|---|
disconnect
账号在其他地方登录
|
fail
登陆失败
|
idle
idle状态
|
logining
登陆中
|
success
登陆成功
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static YWLoginState |
valueOf(int state) |
static YWLoginState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YWLoginState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YWLoginState idle
public static final YWLoginState logining
public static final YWLoginState success
public static final YWLoginState fail
public static final YWLoginState disconnect
public static YWLoginState[] values()
for (YWLoginState c : YWLoginState.values()) System.out.println(c);
public static YWLoginState 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 nullpublic static YWLoginState valueOf(int state)
public int getValue()