AudioManager class

Constructors

AudioManager()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
soundMuted bool
getter/setter pair

Methods

changeToRoute({required AudioDevice input}) Future<void>
checkCurrentIsHeadphoneOrBluetooth() bool
checkDeviceIsBluetooth({required AudioDevice device}) bool
checkDeviceIsEarpiece({required AudioDevice device}) bool
checkDeviceIsHeadphone({required AudioDevice device}) bool
checkDeviceIsSpeaker({required AudioDevice device}) bool
checkSameType({required AudioDevice? dOne, required AudioDevice? dTwo}) bool
getAvailableAudioInputs() List<AudioDevice>
getCurrentAudioInput() → AudioDevice?
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshAudioDevice() → void
setSoundMuted({required bool muted}) → void
switchToBluetooth() Future<bool>
switchToEarpiece() Future<bool>
switchToHeadphones() Future<bool>
switchToSpeaker() Future<bool>
switchToUser() Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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