Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ZegoScreenCaptureExceptionType

Screen capture source exception type. (only for Android and iOS)

Index

Enumeration members

AlreadyStarted

AlreadyStarted: = 6

Screen capture has already started, repeated calls failed. You need to stop the capture with [stopScreenCapture] first.

AudioCreateFailed

AudioCreateFailed: = 3

Audio recording object creation failed. Possible reasons: 1. The audio recording permission is not enabled; 2. The allocated memory for audio recording is insufficient; 3. The creation of AudioRecord fails.

AudioDeviceException

AudioDeviceException: = 11

Audio device exception. You need to restart the capture.

AudioNotSupported

AudioNotSupported: = 2

The capture target fails, such as the monitor is unplugged and the window is closed.

ExceptionInterrupted

ExceptionInterrupted: = 10

Exception interrupted. For example, the user clicks the stop button in the control center during the capture process.

ForegroundServiceFailed

ForegroundServiceFailed: = 7

Failed to start the foreground service.

MediaProjectionPermissionDenied

MediaProjectionPermissionDenied: = 4

MediaProjection request for dynamic permissions was denied.

NotStartCapture

NotStartCapture: = 5

Capture is not started. Need to start capturing with [startScreenCapture] first.

SourceNotSpecified

SourceNotSpecified: = 8

Before starting screen capture, you need to call [setVideoSource], [setAudioSource] to specify the video and audio source ScreenCapture.

SystemError

SystemError: = 9

System error exception. For example, low memory, etc.

Unknown

Unknown: = 0

Unknown exception type.

VideoNotSupported

VideoNotSupported: = 1

The video capture system version does not support it, and Android only supports 5.0 and above.

Generated using TypeDoc