MediaDeviceState enum

媒体设备状态

Inheritance
Available extensions

Values

started → const MediaDeviceState

设备开启采集

stopped → const MediaDeviceState

设备停止采集

runtimeError → const MediaDeviceState

设备运行时错误

例如,当媒体设备的预期行为是正常采集,但没有收到采集数据时,将回调该状态。

added → const MediaDeviceState

设备已插入

removed → const MediaDeviceState

设备被移除

interruptionBegan → const MediaDeviceState

系统通话打断了音视频通话,将在通话结束后自动恢复

interruptionEnded → const MediaDeviceState

音视频通话已从被打断状态中恢复

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