ScreenCaptureParameters2 class
Parameter configuration for screen sharing.
- Annotations
-
- @JsonSerializable.new(explicitToJson: true, includeIfNull: false)
Properties
- audioParams → ScreenAudioParameters?
-
Audio configuration for the screen sharing stream. See ScreenAudioParameters. This parameter takes effect only when captureAudio is true.
final
- captureAudio → bool?
-
Due to system limitations, capturing system audio is only supported on Android API level 29 and above, i.e., Android 10 and above.
To improve the success rate of capturing system audio during screen sharing, ensure that you have called the setAudioScenario method and set the audio scenario to audioScenarioGameStreaming. Whether to capture system audio during screen sharing: true : Capture system audio. false : (Default) Do not capture system audio.
final
- captureVideo → bool?
-
Due to system limitations, screen capture is only supported on Android API level 21 and above, i.e., Android 5 and above. Whether to capture the screen during screen sharing: true : (Default) Capture screen. false : Do not capture screen.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoParams → ScreenVideoParameters?
-
Video encoding configuration for the screen sharing stream. See ScreenVideoParameters. This parameter takes effect only when captureVideo is true.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited