LoginErrorCode enum

Login result

The result of calling RTCVideo.login will be notified to the user through RTCVideoEventHandler.onLoginResult.

Inheritance
Available extensions

Values

success → const LoginErrorCode

Login successful

invalidToken → const LoginErrorCode

The token is invalid or expired. The user is required to re-acquire the token.

loginFailed → const LoginErrorCode

An unknown error occurred when calling RTCVideo.login, which caused the login to fail. The user is required to log in again.

invalidUserId → const LoginErrorCode

Invalid user ID passed in through RTCVideo.login.

codeServerError → const LoginErrorCode

Server error during login

Properties

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.