UserOfflineReason enum

Reason for the user being offline.

Inheritance

Constructors

UserOfflineReason()
const

Values

Quit → const UserOfflineReason

The user left the current channel.

Dropped → const UserOfflineReason

The SDK timed out and the user dropped offline because no data packet is received within a certain period of time. If a user quits the call and the message is not passed to the SDK (due to an unreliable channel), the SDK assumes the user dropped offline.

BecomeAudience → const UserOfflineReason

(LiveBroadcasting only) The client role switched from the host to the audience.

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