ZegoDeviceExceptionType Constants Reference
Declared in | ZegoExpressDefines.h |
---|
ZegoDeviceExceptionType
The exception type for the device.
Definition
typedef NS_ENUM(NSUInteger, ZegoDeviceExceptionType ) {
ZegoDeviceExceptionTypeUnknown = 0,
ZegoDeviceExceptionTypeGeneric = 1,
ZegoDeviceExceptionTypeInvalidId = 2,
ZegoDeviceExceptionTypePermissionNotGranted = 3,
ZegoDeviceExceptionTypeZeroCaptureFps = 4,
ZegoDeviceExceptionTypeDeviceOccupied = 5,
ZegoDeviceExceptionTypeDeviceUnplugged = 6,
ZegoDeviceExceptionTypeRebootRequired = 7,
ZegoDeviceExceptionTypeMediaServicesWereLost = 8,
ZegoDeviceExceptionTypeSiriIsRecording = 9,
ZegoDeviceExceptionTypeSoundLevelTooLow = 10,
ZegoDeviceExceptionTypeMagneticCase = 11,
ZegoDeviceExceptionTypeAudioSessionDeactive = 12,
ZegoDeviceExceptionTypeAudioSessionCategoryChange = 13,
};
Constants
ZegoDeviceExceptionTypeUnknown
-
Unknown device exception.
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeGeneric
-
Generic device exception.
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeInvalidId
-
Invalid device ID exception.
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypePermissionNotGranted
-
Device permission is not granted.
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeZeroCaptureFps
-
The capture frame rate of the device is 0.
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeDeviceOccupied
-
The device is being occupied.
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeDeviceUnplugged
-
The device is unplugged (not plugged in).
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeRebootRequired
-
The device requires the system to restart before it can work (Windows platform only).
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeMediaServicesWereLost
-
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).
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeSiriIsRecording
-
The device is being occupied by Siri (Apple platform only).
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeSoundLevelTooLow
-
The device captured sound level is too low (Windows platform only).
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeMagneticCase
-
The device is being occupied, and maybe cause by iPad magnetic case (Apple platform only).
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeAudioSessionDeactive
-
Audio session deactive (Apple platform only).
Declared In
ZegoExpressDefines.h
. ZegoDeviceExceptionTypeAudioSessionCategoryChange
-
Audio session category change (Apple platform only).
Declared In
ZegoExpressDefines.h
.
Declared In
ZegoExpressDefines.h