ZegoScreenCaptureConfig class

Screen capture configuration parameters.

Constructors

ZegoScreenCaptureConfig(bool captureVideo, bool captureAudio, {int? microphoneVolume, int? applicationVolume, ZegoAudioFrameParam? audioParam, Rect? cropRect})
ZegoScreenCaptureConfig.defaultConfig()

Properties

applicationVolume int?
Set Application audio volume for ReplayKit. The range is 0 ~ 200. The default is 100. (only for iOS)
getter/setter pair
audioParam ZegoAudioFrameParam?
Set the audio capture parameters during screen capture. (only for Android)
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)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
microphoneVolume int?
Set Microphone audio volume for ReplayKit. The range is 0 ~ 200. The default is 100. (only for iOS)
getter/setter pair
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