ZegoRemoteDeviceState enum
远端设备状态
- Inheritance
-
- Object
- Enum
- ZegoRemoteDeviceState
Constructors
- ZegoRemoteDeviceState()
-
const
Values
- Open → const ZegoRemoteDeviceState
-
设备开启
- GenericError → const ZegoRemoteDeviceState
-
设备关闭:一般性设备错误
- InvalidID → const ZegoRemoteDeviceState
-
设备关闭:无效的设备 ID
- NoAuthorization → const ZegoRemoteDeviceState
-
设备关闭:无权限
- ZeroFPS → const ZegoRemoteDeviceState
-
设备关闭:采集帧率为 0
- InUseByOther → const ZegoRemoteDeviceState
-
设备关闭:设备被占用
- Unplugged → const ZegoRemoteDeviceState
-
设备关闭:设备未插入或被拔出
- RebootRequired → const ZegoRemoteDeviceState
-
设备关闭:由于系统原因需要重启后才能进行下一次修改,否则重新打开也不生效
- SystemMediaServicesLost → const ZegoRemoteDeviceState
-
设备关闭:系统媒体服务停止,如 iOS 平台下,当系统检测到当前压力巨大(如播放大量动画),则有可能会将媒体相关服务全部停用
- Disable → const ZegoRemoteDeviceState
-
设备关闭:远端用户主动调用
enableCamera
或者enableAudioCaptureDevice
禁用摄像头或者麦克风 - Mute → const ZegoRemoteDeviceState
-
设备关闭:远端用户主动调用
muteMicrophone
或者mutePublishStreamAudio
或者mutePublishStreamVideo
停止发送音频流或者视频流 - Interruption → const ZegoRemoteDeviceState
-
设备关闭:设备被中断,如电话事件打断等
- InBackground → const ZegoRemoteDeviceState
-
设备关闭:用户 App 退到后台
- MultiForegroundApp → const ZegoRemoteDeviceState
-
设备关闭:当前前台同时存在多个 App,如 iPad 应用分屏下,系统会禁止所有应用使用摄像头
- BySystemPressure → const ZegoRemoteDeviceState
-
设备关闭:系统处于高负载压力下,可能导致设备异常
- NotSupport → const ZegoRemoteDeviceState
-
设备状态未知:远端的 SDK 版本过低,不支持发布该设备状态信息
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<
ZegoRemoteDeviceState> -
A constant List of the values in this enum, in order of their declaration.
[Open, GenericError, InvalidID, NoAuthorization, ZeroFPS, InUseByOther, Unplugged, RebootRequired, SystemMediaServicesLost, Disable, Mute, Interruption, InBackground, MultiForegroundApp, BySystemPress…