UserOfflineReason enum Null safety

Reason for the user being offline.

Constants

BecomeAudience → const UserOfflineReason

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

@JsonValue(2)
const UserOfflineReason(2)
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.

@JsonValue(1)
const UserOfflineReason(1)
Quit → const UserOfflineReason

The user left the current channel.

@JsonValue(0)
const UserOfflineReason(0)
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