AudioRemoteState enum

远端音频流状态。

Constants

Decoding → const AudioRemoteState

远端音频流正在解码,正常播放。在以下情况下,会报告该状态:

@JsonValue(2)
const AudioRemoteState(2)
Failed → const AudioRemoteState

远端音频流播放失败。在以下情况下,会报告该状态:

@JsonValue(4)
const AudioRemoteState(4)
Frozen → const AudioRemoteState

远端音频流卡顿。在以下情况下,会报告该状态:

@JsonValue(3)
const AudioRemoteState(3)
Starting → const AudioRemoteState

本地用户已接收远端音频首包。

@JsonValue(1)
const AudioRemoteState(1)
Stopped → const AudioRemoteState

远端音频流默认初始状态。在以下情况下,会报告该状态:

@JsonValue(0)
const AudioRemoteState(0)
values → const List<AudioRemoteState>

A constant List of the values in this enum, in order of their declaration.

const List<AudioRemoteState>

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
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited