AudioDevice class Null safety

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. [...]
read-only, override
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.
read-only, inherited
type AudioDeviceType
The type of this device.
final

Methods

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

Operators

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