AudioDevice class

Information about an audio device. If you require platform specific device details, use AVAudioSession and AndroidAudioManager directly.

Constructors

AudioDevice({required String id, required String name, required bool isInput, required bool isOutput, required AudioDeviceType type})

Properties

hashCode int
The hash code for this object.
no setteroverride
id String
The unique ID of the device.
final
isInput bool
Whether this device is an input.
final
isOutput bool
Whether this device is an output.
final
name String
The name of the device.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AudioDeviceType
The type of this device.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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