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
MediaDeviceInfo InputDeviceInfo

Methods

NameDescription
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.cs

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.

public MediaTrackCapabilities GetCapabilities()