InputDeviceInfo Class
An input device listed by MediaDevices.EnumerateDevices: a camera or a microphone, with its capabilities (https://w3c.github.io/mediacapture-main/#input-specific-device-info).
public sealed class InputDeviceInfo : MediaDeviceInfo- Inheritance
MediaDeviceInfoInputDeviceInfo
Methods
| Name | Description |
|---|---|
| GetCapabilities() | Returns the capabilities of the device (https://w3c.github.io/mediacapture-main/#dom-inputdeviceinfo-getcapabilities): the ones of its tracks, or an empty dictionary when the document cannot see the details of the device. |
GetCapabilities()
MediaDevices.csReturns the capabilities of the device (https://w3c.github.io/mediacapture-main/#dom-inputdeviceinfo-getcapabilities): the ones of its tracks, or an empty dictionary when the document cannot see the details of the device.
public MediaTrackCapabilities GetCapabilities()