UserOfflineReasonType enum

Reasons for a user being offline.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

UserOfflineReasonType()
const

Values

userOfflineQuit → const UserOfflineReasonType

0: The user quits the call.

userOfflineDropped → const UserOfflineReasonType

1: The SDK times out and the user drops offline because no data packet is received within a certain period of time. If the 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.

userOfflineBecomeAudience → const UserOfflineReasonType

2: The user switches the client role 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<UserOfflineReasonType>
A constant List of the values in this enum, in order of their declaration.