LocalAudioStreamError enum

本地音频流状态改变时的错误码

Inheritance

Constructors

LocalAudioStreamError()
const

Values

ok → const LocalAudioStreamError

本地音频状态正常

failure → const LocalAudioStreamError

本地音频出错原因未知

deviceNoPermission → const LocalAudioStreamError

没有权限启动本地音频录制设备

recordFailure → const LocalAudioStreamError

本地音频录制失败,建议你检查录制设备是否正常工作

encodeFailure → const LocalAudioStreamError

本地音频编码失败

noRecordingDevice → const LocalAudioStreamError

没有可用的音频录制设备

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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<LocalAudioStreamError>
A constant List of the values in this enum, in order of their declaration.
[ok, failure, deviceNoPermission, deviceBusy, recordFailure, encodeFailure, noRecordingDevice]