ZegoDeviceExceptionType enum

设备异常类型。

Inheritance
  • Object
  • Enum
  • ZegoDeviceExceptionType

Constructors

ZegoDeviceExceptionType()
const

Values

Unknown → const ZegoDeviceExceptionType

未知的设备异常。

Generic → const ZegoDeviceExceptionType

一般性设备异常。

InvalidId → const ZegoDeviceExceptionType

无效设备 ID 异常。

PermissionNotGranted → const ZegoDeviceExceptionType

没有设备权限。

ZeroCaptureFps → const ZegoDeviceExceptionType

设备的采集帧率为 0。

DeviceOccupied → const ZegoDeviceExceptionType

设备被占用。

DeviceUnplugged → const ZegoDeviceExceptionType

设备被拔出(未连接)。

RebootRequired → const ZegoDeviceExceptionType

设备要求系统重启后才能工作(仅限 Windows 平台)。

MediaServicesWereLost → const ZegoDeviceExceptionType

系统媒体服务不可用,例如当 iOS 系统检测到当前压力巨大(如播放大量动画),则有可能会将媒体相关服务全部停用(仅限 Apple 平台)。

SiriIsRecording → const ZegoDeviceExceptionType

设备被 Siri 占用(仅限 Apple 平台)。

SoundLevelTooLow → const ZegoDeviceExceptionType

设备采集的声音过低(仅限 Windows 平台)。

MagneticCase → const ZegoDeviceExceptionType

可能是由 iPad 磁吸保护套引起的设备被占用问题(仅限 Apple 平台)。

AudioSessionDeactive → const ZegoDeviceExceptionType

音频会话停用(仅限 Apple 平台)。

AudioSessionCategoryChange → const ZegoDeviceExceptionType

音频会话分类更改(仅限 Apple 平台)。

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<ZegoDeviceExceptionType>
A constant List of the values in this enum, in order of their declaration.
[Unknown, Generic, InvalidId, PermissionNotGranted, ZeroCaptureFps, DeviceOccupied, DeviceUnplugged, RebootRequired, MediaServicesWereLost, SiriIsRecording, SoundLevelTooLow, MagneticCase, AudioSessio…