UserOnlineStatus enum

Inheritance
Available extensions

Values

USER_ONLINE_STATUS_OFFLINE → const UserOnlineStatus

@brief Counterpart user is offline
Counterpart user has called logout, or has not called login to log in

USER_ONLINE_STATUS_ONLINE → const UserOnlineStatus

@brief The peer user is online
The peer user calls login to log in, and the connection status is normal.

USER_ONLINE_STATUS_UNREACHABLE → const UserOnlineStatus

@brief Unable to get the online state of the peer user
Returned when a cascade error occurs and the online state of the peer user is abnormal

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