MediaTrackCapabilities constructor

MediaTrackCapabilities({
  1. ULongRange width,
  2. ULongRange height,
  3. DoubleRange aspectRatio,
  4. DoubleRange frameRate,
  5. JSArray<JSString> facingMode,
  6. JSArray<JSString> resizeMode,
  7. ULongRange sampleRate,
  8. ULongRange sampleSize,
  9. JSArray<JSBoolean> echoCancellation,
  10. JSArray<JSBoolean> autoGainControl,
  11. JSArray<JSBoolean> noiseSuppression,
  12. DoubleRange latency,
  13. ULongRange channelCount,
  14. String deviceId,
  15. String groupId,
  16. JSArray<JSString> whiteBalanceMode,
  17. JSArray<JSString> exposureMode,
  18. JSArray<JSString> focusMode,
  19. MediaSettingsRange exposureCompensation,
  20. MediaSettingsRange exposureTime,
  21. MediaSettingsRange colorTemperature,
  22. MediaSettingsRange iso,
  23. MediaSettingsRange brightness,
  24. MediaSettingsRange contrast,
  25. MediaSettingsRange saturation,
  26. MediaSettingsRange sharpness,
  27. MediaSettingsRange focusDistance,
  28. MediaSettingsRange pan,
  29. MediaSettingsRange tilt,
  30. MediaSettingsRange zoom,
  31. JSArray<JSBoolean> torch,
  32. String displaySurface,
  33. bool logicalSurface,
  34. JSArray<JSString> cursor,
})

Implementation

external factory MediaTrackCapabilities({
  ULongRange width,
  ULongRange height,
  DoubleRange aspectRatio,
  DoubleRange frameRate,
  JSArray<JSString> facingMode,
  JSArray<JSString> resizeMode,
  ULongRange sampleRate,
  ULongRange sampleSize,
  JSArray<JSBoolean> echoCancellation,
  JSArray<JSBoolean> autoGainControl,
  JSArray<JSBoolean> noiseSuppression,
  DoubleRange latency,
  ULongRange channelCount,
  String deviceId,
  String groupId,
  JSArray<JSString> whiteBalanceMode,
  JSArray<JSString> exposureMode,
  JSArray<JSString> focusMode,
  MediaSettingsRange exposureCompensation,
  MediaSettingsRange exposureTime,
  MediaSettingsRange colorTemperature,
  MediaSettingsRange iso,
  MediaSettingsRange brightness,
  MediaSettingsRange contrast,
  MediaSettingsRange saturation,
  MediaSettingsRange sharpness,
  MediaSettingsRange focusDistance,
  MediaSettingsRange pan,
  MediaSettingsRange tilt,
  MediaSettingsRange zoom,
  JSArray<JSBoolean> torch,
  String displaySurface,
  bool logicalSurface,
  JSArray<JSString> cursor,
});