NERoomEndReason enum Null safety

Reason enumeration for ending a room

Inheritance

Constructors

NERoomEndReason()
const

Values

kLeaveBySelf → const NERoomEndReason

The current user leaves the room intentionally.

const NERoomEndReason(0)
kSyncDataError → const NERoomEndReason

Data sync error

const NERoomEndReason(1)
kKickOut → const NERoomEndReason

Removed out of the room by administrator

const NERoomEndReason(2)
kKickBySelf → const NERoomEndReason

Removed by the login session on another device

const NERoomEndReason(3)
kCloseByMember → const NERoomEndReason

A room is closed

const NERoomEndReason(4)
kEndOfLife → const NERoomEndReason

The room expires

const NERoomEndReason(5)
kAllMemberOut → const NERoomEndReason

All members leave the room

const NERoomEndReason(6)
kCloseByBackend → const NERoomEndReason

Closed in the console

const NERoomEndReason(7)
kLoginStateError → const NERoomEndReason

Login state error

const NERoomEndReason(8)
kUnknown → const NERoomEndReason

Unknown exception

const NERoomEndReason(9)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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<NERoomEndReason>
A constant List of the values in this enum, in order of their declaration.
[kLeaveBySelf, kSyncDataError, kKickOut, kKickBySelf, kCloseByMember, kEndOfLife, kAllMemberOut, kCloseByBackend, kLoginStateError, kUnknown]