ZegoUIKitErrorCode class
uikit-${library_type}-${error_type}-${error_code} 3-xx-xxx-xxx
library_type: { 00:uikit;
01:signaling plugin; 02:adapter plugin; 03:beauty plugin;
10:call prebuilt; 11:live audio room prebuilt; 12:live streaming prebuilt; 13:video conference prebuilt; 14:zim-kit; }
3-00-xxx-xxx
error type: { internal(001): 300001-xxx audio video(002): 300002-xxx custom command(003): 300003-xxx device(004): 300004-xxx effect(005): 300005-xxx media(006): 300006-xxx message(007): 300007-xxx room(008): 300008-xxx user(009): 300009-xxx screen capture(010): 300010-xxx }
Constructors
Properties
- hashCode → int
-
The hash code for this object.
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
Static Properties
- expressErrorCodeDocumentTips ↔ String
-
getter/setter pair
Static Methods
-
fromZegoScreenCaptureExceptionType(
ZegoScreenCaptureExceptionType exceptionType) → int
Constants
- coreNotInit → const int
- customCommandSendError → const int
- mediaPickFilesError → const int
- pick media file error
- mediaPlayError → const int
- media play error
- mediaSeekError → const int
- media seek error
- messageReSendError → const int
- messageSendError → const int
- roomLeaveError → const int
- roomLoginError → const int
- roomNotLogin → const int
- screenCaptureExceptionAlreadyStarted → const int
-
Screen capture has already started, repeated calls failed. You need to stop the capture with
stopScreenCapture
first. - screenCaptureExceptionAudioCreateFailed → const int
- 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.
- screenCaptureExceptionAudioNotSupported → const int
- The capture target fails, such as the monitor is unplugged and the window is closed.
- screenCaptureExceptionForegroundServiceFailed → const int
- Failed to start the foreground service.
- screenCaptureExceptionMediaProjectionPermissionDenied → const int
- MediaProjection request for dynamic permissions was denied.
- screenCaptureExceptionNotStartCapture → const int
-
Capture is not started. Need to start capturing with
startScreenCapture
first. - screenCaptureExceptionSourceNotSpecified → const int
-
Before starting screen capture, you need to call
setVideoSource
,setAudioSource
to specify the video and audio sourceScreenCapture
. - screenCaptureExceptionSystemError → const int
- System error exception. For example, low memory, etc.
- screenCaptureExceptionUnknown → const int
- Unknown video capture exception type.
- screenCaptureExceptionVideoNotSupported → const int
- The video capture system version does not support it, and Android only supports 5.0 and above.
- success → const int
- Execution successful.