ZegoScreenCaptureConfig class

Screen capture configuration parameters.

Constructors

ZegoScreenCaptureConfig(bool captureVideo, bool captureAudio, {int? microphoneVolume, int? applicationVolume, ZegoAudioFrameParam? audioParam, Rect? cropRect, ZegoScreenCaptureOrientation? orientation, bool? muteExtensMicrophone, ZegoScreenCaptureAudioDeviceMode? audioDeviceMode, bool? showPicker})
ZegoScreenCaptureConfig.defaultConfig()

Properties

applicationVolume ↔ int?
Set application audio volume during screen capture. The range is 0 ~ 200. The default is 100. (only for iOS, Android, and OHOS)
getter/setter pair
audioDeviceMode ↔ ZegoScreenCaptureAudioDeviceMode?
Set the audio device mode for the specified scene, the default is None. (only for iOS) Notes:
getter/setter pair
audioParam ↔ ZegoAudioFrameParam?
Set the audio capture parameters during screen capture. (only for Android and OHOS)
getter/setter pair
captureAudio ↔ bool
Whether to capture audio when screen capture. The default is true.
getter/setter pair
captureVideo ↔ bool
Whether to capture video when screen capture. The default is true.
getter/setter pair
cropRect ↔ Rect?
Set the crop rectangle during screen capture. The crop rectangle must be included in the rectangle of the original data, unit is pixel. (only for iOS/Android/OHOS)
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
microphoneVolume ↔ int?
Set microphone audio volume during screen capture. The range is 0 ~ 200. The default is 100. (only for iOS and OHOS)
getter/setter pair
muteExtensMicrophone ↔ bool?
Set whether to mute the microphone of the extension process. The default is false. (only for iOS)
getter/setter pair
orientation ↔ ZegoScreenCaptureOrientation?
Set the capture orientation of the screen capture. The capture orientation will be fixed, ignoring the system returned orientation. (only for iOS/Android/OHOS)
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showPicker ↔ bool?
Whether to show the system picker when starting screen capture or updating screen capture configuration. The default is false. (Only available on OHOS)
getter/setter pair

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