RemoteAudioState enum

Remote audio states.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

RemoteAudioState()
const

Values

remoteAudioStateStopped → const RemoteAudioState

0: The local audio is in the initial state. The SDK reports this state in the case of remoteAudioReasonLocalMuted, remoteAudioReasonRemoteMuted or remoteAudioReasonRemoteOffline.

remoteAudioStateStarting → const RemoteAudioState

1: The first remote audio packet is received.

remoteAudioStateDecoding → const RemoteAudioState

2: The remote audio stream is decoded and plays normally. The SDK reports this state in the case of remoteAudioReasonNetworkRecovery, remoteAudioReasonLocalUnmuted or remoteAudioReasonRemoteUnmuted.

remoteAudioStateFrozen → const RemoteAudioState

3: The remote audio is frozen. The SDK reports this state in the case of remoteAudioReasonNetworkCongestion.

remoteAudioStateFailed → const RemoteAudioState

4: The remote audio fails to start. The SDK reports this state in the case of remoteAudioReasonInternal.

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