InputDeviceInfo class

The interface of the Media Streams API gives access to the capabilities of the input device that it represents. objects are returned by MediaDevices.enumerateDevices() if the returned device is an audio or video input device.

MediaDeviceInfo

InputDeviceInfo

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

InputDeviceInfo()
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

getCapabilities() MediaTrackCapabilities

Available on InputDeviceInfo, provided by the PropsInputDeviceInfo extension

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