ZegoDeviceExceptionType enum

The exception type for the device.

Inheritance
  • Object
  • Enum
  • ZegoDeviceExceptionType

Constructors

ZegoDeviceExceptionType()
const

Values

Unknown → const ZegoDeviceExceptionType

Unknown device exception.

Generic → const ZegoDeviceExceptionType

Generic device exception.

InvalidId → const ZegoDeviceExceptionType

Invalid device ID exception.

PermissionNotGranted → const ZegoDeviceExceptionType

Device permission is not granted.

ZeroCaptureFps → const ZegoDeviceExceptionType

The capture frame rate of the device is 0.

DeviceOccupied → const ZegoDeviceExceptionType

The device is being occupied.

DeviceUnplugged → const ZegoDeviceExceptionType

The device is unplugged (not plugged in).

RebootRequired → const ZegoDeviceExceptionType

The device requires the system to restart before it can work (Windows platform only).

MediaServicesWereLost → const ZegoDeviceExceptionType

The system media service is unavailable, e.g. when the iOS system detects that the current pressure is huge (such as playing a lot of animation), it is possible to disable all media related services (Apple platform only).

SiriIsRecording → const ZegoDeviceExceptionType

The device is being occupied by Siri (Apple platform only).

SoundLevelTooLow → const ZegoDeviceExceptionType

The device captured sound level is too low (Windows platform only).

MagneticCase → const ZegoDeviceExceptionType

The device is being occupied, and maybe cause by iPad magnetic case (Apple platform only).

AudioSessionDeactive → const ZegoDeviceExceptionType

Audio session deactive (Apple platform only).

AudioSessionCategoryChange → const ZegoDeviceExceptionType

Audio session category change (Apple platform only).

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…