MediaDeviceInfo Class
A media device listed by MediaDevices.EnumerateDevices (https://w3c.github.io/mediacapture-main/#device-info): its kind, and when the document can see them, its identifier, its label and its group.
public class MediaDeviceInfoProperties
| Name | Description |
|---|---|
| DeviceId | Gets the identifier of the device for the origin of the document, or an empty string. |
| GroupId | Gets the identifier of the physical device of the device for the document, or an empty string. |
| Kind | Gets the kind of the device. |
| Label | Gets the label of the device, or an empty string. |
DeviceId
MediaDevices.csGets the identifier of the device for the origin of the document, or an empty string.
public string DeviceId { get; }GroupId
MediaDevices.csGets the identifier of the physical device of the device for the document, or an empty string.
public string GroupId { get; }Kind
MediaDevices.csLabel
MediaDevices.csGets the label of the device, or an empty string.
public string Label { get; }