LoginErrorCode enum

{zh} * @detail errorcode @brief 登录结果
调用 login 登录的结果,会通过 onLoginResult 回调通知用户。

Inheritance
Available extensions

Values

success → const LoginErrorCode

@brief Call the login method to log in successfully.

invalid_token → const LoginErrorCode

@brief The Token used when calling the login method is invalid or expired. The user is required to re-acquire the token.

login_failed → const LoginErrorCode

@brief Login error.
An unknown error occurred when calling the login method, which caused the login to fail and requires re-login.

invalid_user_id → const LoginErrorCode

@brief There was a problem with the user ID passed in when the login method was called.

code_server_error → const LoginErrorCode

@brief Server error when calling login to log in.

Properties

$value → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<LoginErrorCode>
A constant List of the values in this enum, in order of their declaration.