MediaTrackCapabilities constructor
MediaTrackCapabilities({
- DoubleRange? aspectRatio,
- List<
bool> ? autoGainControl, - ULongRange? channelCount,
- String? deviceId,
- String? displaySurface,
- List<
bool> ? echoCancellation, - List<
String> ? facingMode, - DoubleRange? frameRate,
- String? groupId,
- ULongRange? height,
- List<
bool> ? noiseSuppression, - ULongRange? sampleRate,
- ULongRange? sampleSize,
- 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,
);