RemoteAudioStateReason enum

The reason for the remote audio state change.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

RemoteAudioStateReason()
const

Values

remoteAudioReasonInternal → const RemoteAudioStateReason

0: The SDK reports this reason when the audio state changes.

remoteAudioReasonNetworkCongestion → const RemoteAudioStateReason

1: Network congestion.

remoteAudioReasonNetworkRecovery → const RemoteAudioStateReason

2: Network recovery.

remoteAudioReasonLocalMuted → const RemoteAudioStateReason

3: The local user stops receiving the remote audio stream or disables the audio module.

remoteAudioReasonLocalUnmuted → const RemoteAudioStateReason

4: The local user resumes receiving the remote audio stream or enables the audio module.

remoteAudioReasonRemoteMuted → const RemoteAudioStateReason

5: The remote user stops sending the audio stream or disables the audio module.

remoteAudioReasonRemoteUnmuted → const RemoteAudioStateReason

6: The remote user resumes sending the audio stream or enables the audio module.

remoteAudioReasonRemoteOffline → const RemoteAudioStateReason

7: The remote user leaves the channel.

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