Devices class

Describes available media input and output devices.

Annotations

Constructors

Devices({required List<Device> camera, required List<Device> microphone, required List<Device> speaker, required List<Device> audio})
const
factory
Devices.empty()
factory
Devices.fromJson(Map<String, dynamic> json)
factory

Properties

audio List<Device>
List of all available input/output audio devices.
read-onlyinherited
camera List<Device>
List of all available camera devices.
read-onlyinherited
copyWith → $DevicesCopyWith<Devices>
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
ids Set<DeviceId>
A list of all device IDs in this Devices.
read-only
microphone List<Device>
List of all available input audio devices.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
speaker List<Device>
List of all available output audio devices.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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