InputDeviceInfo extension type
The InputDeviceInfo
interface of the Media Capture and Streams API
gives access to the capabilities of the input device that it represents.
InputDeviceInfo
objects are returned by MediaDevices.enumerateDevices if
the returned device is an audio or video input device.
- on
- Implemented types
Properties
- deviceId → String
-
no setterinherited
- groupId → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → MediaDeviceKind
-
no setterinherited
- label → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCapabilities(
) → MediaTrackCapabilities -
The
getCapabilities()
method of the InputDeviceInfo interface returns aMediaTrackCapabilities
object describing the primary audio or video track of the device's MediaStream. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → JSObject -
The
toJSON()
method of the MediaDeviceInfo interface is a ; it returns a JSON representation of the MediaDeviceInfo object.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited