Enum NEAuthEvent
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum NEAuthEvent extends Enum<NEAuthEvent>
登录事件枚举
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KICK_OUT被踢出登录
INCORRECT_TOKEN授权错误
TOKEN_EXPIREDToken过期
FORBIDDEN服务端禁止登录
ACCOUNT_TOKEN_ERROR账号或密码错误
LOGGED_IN登录成功
LOGGED_OUT未登录
RECONNECTED重连成功
-
Method Summary
Modifier and Type Method Description final NEAuthEventvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<NEAuthEvent>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final NEAuthEvent valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<NEAuthEvent> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-