ZegoScreenCaptureConfig class

屏幕采集配置参数。

Constructors

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

Properties

applicationVolume int?
设置屏幕录制时 Application 音频音量。范围为 0 ~ 200,默认为 100。(仅适用 iOS 平台)
getter/setter pair
audioParam ZegoAudioFrameParam?
设置屏幕录制时音频采集参数。(仅适用 Android 平台)
getter/setter pair
captureAudio bool
屏幕共享时是否采集音频。默认为 true。
getter/setter pair
captureVideo bool
屏幕共享时是否采集视频。默认为 true。
getter/setter pair
cropRect Rect?
设置屏幕录制时裁剪矩形,裁剪矩形必须被原始数据的矩形包含,单位为像素。(仅适用 iOS/Android 平台)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
microphoneVolume int?
设置屏幕录制时 Microphone 音频音量。范围为 0 ~ 200,默认为 100。(仅适用 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