CaptureOptions constructor
CaptureOptions({
- bool? audio,
- bool? video,
- MediaStreamConstraint? audioConstraints,
- MediaStreamConstraint? videoConstraints,
- String? presentationId,
Implementation
CaptureOptions({
bool? audio,
bool? video,
MediaStreamConstraint? audioConstraints,
MediaStreamConstraint? videoConstraints,
String? presentationId,
}) : _wrapped = $js.CaptureOptions(
audio: audio,
video: video,
audioConstraints: audioConstraints?.toJS,
videoConstraints: videoConstraints?.toJS,
presentationId: presentationId,
);