NIMAuthStatus enum

登录/登出状态事件

Inheritance

Constructors

NIMAuthStatus()
const

Values

unknown → const NIMAuthStatus

未知状态

unLogin → const NIMAuthStatus

未登录 或 登录失败

connecting → const NIMAuthStatus

正在连接服务器

logging → const NIMAuthStatus

正在登录中

loggedIn → const NIMAuthStatus

已成功登录

forbidden → const NIMAuthStatus

被服务器拒绝连接,403,422

netBroken → const NIMAuthStatus

网络连接已断开

versionError → const NIMAuthStatus

客户端版本错误

pwdError → const NIMAuthStatus

用户名或密码错误

kickOut → const NIMAuthStatus

被其他端的登录踢掉

kickOutByOtherClient → const NIMAuthStatus

被同时在线的其他端主动踢掉

dataSyncStart → const NIMAuthStatus

数据同步开始

同步开始时,SDK 数据库中的数据可能还是旧数据。 (如果是首次登录,那么 SDK 数据库中还没有数据, 重新登录时 SDK 数据库中还是上一次退出时保存的数据) 在同步过程中,SDK 数据的更新会通过相应的监听接口发出数据变更通知。

dataSyncFinish → const NIMAuthStatus

数据同步完成

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<NIMAuthStatus>
A constant List of the values in this enum, in order of their declaration.