MediaDeviceInfo class

The interface contains information that describes a single media input or output device. The list of devices obtained by calling navigator.mediaDevices.enumerateDevices() is an array of objects, one per media device.

Implementers
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

MediaDeviceInfo()
factory

Properties

deviceId String

Available on MediaDeviceInfo, provided by the PropsMediaDeviceInfo extension

no setter
groupId String

Available on MediaDeviceInfo, provided by the PropsMediaDeviceInfo extension

no setter
hashCode int
The hash code for this object.
no setterinherited
kind MediaDeviceKind

Available on MediaDeviceInfo, provided by the PropsMediaDeviceInfo extension

no setter
label String

Available on MediaDeviceInfo, provided by the PropsMediaDeviceInfo extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → dynamic

Available on MediaDeviceInfo, provided by the PropsMediaDeviceInfo extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited