CaptureOptions constructor

CaptureOptions({
  1. bool? audio,
  2. bool? video,
  3. MediaStreamConstraint? audioConstraints,
  4. MediaStreamConstraint? videoConstraints,
  5. 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,
      );