UserOfflineReason enum Null safety

远端用户离开房间的原因

Constants

dropped → const UserOfflineReason

远端用户因网络等原因掉线

const UserOfflineReason(1)
kickedByAdmin → const UserOfflineReason

服务端调用 OpenAPI,将远端用户踢出房间

const UserOfflineReason(3)
quit → const UserOfflineReason

远端用户调用 RTCRoom.leaveRoom 方法主动退出房间

const UserOfflineReason(0)
switchToInvisible → const UserOfflineReason

远端用户切换至隐身状态

const UserOfflineReason(2)
values → const List<UserOfflineReason>

A constant List of the values in this enum, in order of their declaration.

const List<UserOfflineReason>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
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. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited