kind property

Describes the kind of the represented device.

Syntax

JavaScript
kind = object.kind

 

Property values

Type: MediaDeviceKind

The kind of the represented device.

ValueCondition
audioinput

Represents an audio input device, like a microphone.

audiooutput

Represents an audio output device, like headphones.

videoinput

Represents a video input device, like a webcam.

 

See also

MediaDeviceInfo

 

 

Show: