LogoutReason enum

用户登出的原因

Inheritance

Constructors

LogoutReason()
const

Values

logout → const LogoutReason

用户主动退出

用户调用 logout 接口登出,或者销毁引擎登出

duplicateLogin → const LogoutReason

用户被动退出

另一个用户以相同 UserId 进行了 login,导致本端用户被踢出

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<LogoutReason>
A constant List of the values in this enum, in order of their declaration.