MediaTrackCapabilities constructor

MediaTrackCapabilities({
  1. DoubleRange? aspectRatio,
  2. List<bool>? autoGainControl,
  3. ULongRange? channelCount,
  4. String? deviceId,
  5. String? displaySurface,
  6. List<bool>? echoCancellation,
  7. List<String>? facingMode,
  8. DoubleRange? frameRate,
  9. String? groupId,
  10. ULongRange? height,
  11. List<bool>? noiseSuppression,
  12. ULongRange? sampleRate,
  13. ULongRange? sampleSize,
  14. ULongRange? width,
})

Implementation

factory MediaTrackCapabilities({
  _i3.DoubleRange? aspectRatio,
  _i2.List<_i2.bool>? autoGainControl,
  _i3.ULongRange? channelCount,
  _i2.String? deviceId,
  _i2.String? displaySurface,
  _i2.List<_i2.bool>? echoCancellation,
  _i2.List<_i2.String>? facingMode,
  _i3.DoubleRange? frameRate,
  _i2.String? groupId,
  _i3.ULongRange? height,
  _i2.List<_i2.bool>? noiseSuppression,
  _i3.ULongRange? sampleRate,
  _i3.ULongRange? sampleSize,
  _i3.ULongRange? width,
}) =>
    MediaTrackCapabilities._(
      aspectRatio: aspectRatio ?? _i6.undefined,
      autoGainControl: autoGainControl,
      channelCount: channelCount ?? _i6.undefined,
      deviceId: deviceId,
      displaySurface: displaySurface,
      echoCancellation: echoCancellation,
      facingMode: facingMode,
      frameRate: frameRate ?? _i6.undefined,
      groupId: groupId,
      height: height ?? _i6.undefined,
      noiseSuppression: noiseSuppression,
      sampleRate: sampleRate ?? _i6.undefined,
      sampleSize: sampleSize ?? _i6.undefined,
      width: width ?? _i6.undefined,
    );