NIMAuthStatus enum Null safety
login or logout status events
Constructors
- NIMAuthStatus()
-
const
Values
- unknown → const NIMAuthStatus
-
Unknown status
const NIMAuthStatus(0)
- unLogin → const NIMAuthStatus
-
Not logged in or login failure
const NIMAuthStatus(1)
- connecting → const NIMAuthStatus
-
Connecting
const NIMAuthStatus(2)
- logging → const NIMAuthStatus
-
Logging in
const NIMAuthStatus(3)
- loggedIn → const NIMAuthStatus
-
Logged in
const NIMAuthStatus(4)
- forbidden → const NIMAuthStatus
-
Rejected by server, 403 or 422
const NIMAuthStatus(5)
- netBroken → const NIMAuthStatus
-
Disconnected
const NIMAuthStatus(6)
- versionError → const NIMAuthStatus
-
Client version error
const NIMAuthStatus(7)
- pwdError → const NIMAuthStatus
-
Incorrect username or password
const NIMAuthStatus(8)
- kickOut → const NIMAuthStatus
-
Invalidated by other login attempts
const NIMAuthStatus(9)
- kickOutByOtherClient → const NIMAuthStatus
-
Invalidated by successful login on other clients
const NIMAuthStatus(10)
- dataSyncStart → const NIMAuthStatus
-
Data sync starts
The data in the SDK database may still be outdated when data sync begins. If this is the first login, no data exists in the SDK database. The data in the SDK database remain the same as the last time you logged out.
const NIMAuthStatus(11)
- dataSyncFinish → const NIMAuthStatus
-
Data sync is complete
const NIMAuthStatus(12)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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.
[unknown, unLogin, connecting, logging, loggedIn, forbidden, netBroken, versionError, pwdError, kickOut, kickOutByOtherClient, dataSyncStart, dataSyncFinish]