MediaDeviceError enum Null safety
媒体设备错误类型
Constants
- deviceBusy → const MediaDeviceError
-
媒体设备已经在使用中
const MediaDeviceError(2) - deviceDisconnected → const MediaDeviceError
-
媒体设备被移除
const MediaDeviceError(5) - deviceFailure → const MediaDeviceError
-
媒体设备错误
const MediaDeviceError(3) - deviceNoCallback → const MediaDeviceError
-
无采集数据
当媒体设备的预期行为是正常采集,但没有收到采集数据时,将收到该错误。
const MediaDeviceError(6) - deviceNoPermission → const MediaDeviceError
-
没有权限启动媒体设备
const MediaDeviceError(1) - deviceNotFound → const MediaDeviceError
-
未找到指定的媒体设备
const MediaDeviceError(4) - notFindGroupId → const MediaDeviceError
-
iOS 屏幕采集没有 group id 参数
const MediaDeviceError(8) - ok → const MediaDeviceError
-
媒体设备正常
const MediaDeviceError(0) - unsupportedFormat → const MediaDeviceError
-
设备采样率不支持
const MediaDeviceError(7) -
values
→ const List<
MediaDeviceError> -
A constant List of the values in this enum, in order of their declaration.
const List<MediaDeviceError>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited