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_EXPIRED
Token过期
FORBIDDEN
服务端禁止登录
ACCOUNT_TOKEN_ERROR
账号或密码错误
LOGGED_IN
登录成功
LOGGED_OUT
未登录
RECONNECTED
重连成功
-
Method Summary
Modifier and Type Method Description final NEAuthEvent
valueOf(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.
-
-
-
-