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 MediaDeviceInfo

Properties

NameDescription
DeviceIdGets the identifier of the device for the origin of the document, or an empty string.
GroupIdGets the identifier of the physical device of the device for the document, or an empty string.
KindGets the kind of the device.
LabelGets the label of the device, or an empty string.

Gets the identifier of the device for the origin of the document, or an empty string.

public string DeviceId { get; }

Gets the identifier of the physical device of the device for the document, or an empty string.

public string GroupId { get; }

Gets the kind of the device.

public MediaDeviceKind Kind { get; }

Gets the label of the device, or an empty string.

public string Label { get; }