AudioDeviceManager class abstract

Methods for managing audio devices.

Constructors

AudioDeviceManager()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

enumeratePlaybackDevices() → Future<List<AudioDeviceInfo>>
Gets a list of all playback devices in the system.
enumerateRecordingDevices() → Future<List<AudioDeviceInfo>>
Gets the list of all audio recording devices in the system.
followSystemLoopbackDevice(bool enable) → Future<void>
Sets whether the loopback recording device follows the system default playback device.
followSystemPlaybackDevice(bool enable) → Future<void>
Sets whether the audio playback device used by the SDK follows the system default playback device.
followSystemRecordingDevice(bool enable) → Future<void>
Sets whether the audio recording device used by the SDK follows the system default recording device.
getLoopbackDevice() → Future<String>
Gets the current sound card capture device.
getPlaybackDefaultDevice() → Future<AudioDeviceInfo>
Gets the system default audio playback device.
getPlaybackDevice() → Future<String>
Gets the current audio playback device.
getPlaybackDeviceInfo() → Future<AudioDeviceInfo>
Gets audio playback device information.
getPlaybackDeviceMute() → Future<bool>
Gets the mute status of the current playback device.
getPlaybackDeviceVolume() → Future<int>
Gets the playback device volume.
getRecordingDefaultDevice() → Future<AudioDeviceInfo>
Gets the system default audio recording device.
getRecordingDevice() → Future<String>
Gets the current audio recording device.
getRecordingDeviceInfo() → Future<AudioDeviceInfo>
Gets information about the audio recording device.
getRecordingDeviceMute() → Future<bool>
Gets the mute status of the current recording device.
getRecordingDeviceVolume() → Future<int>
Gets the volume of the audio recording device.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → Future<void>
Releases all resources used by the AudioDeviceManager object.
setLoopbackDevice(String deviceId) → Future<void>
Specifies the sound card capture device.
setPlaybackDevice(String deviceId) → Future<void>
Specifies the playback device.
setPlaybackDeviceMute(bool mute) → Future<void>
Sets the playback device to mute.
setPlaybackDeviceVolume(int volume) → Future<void>
Sets the playback device volume.
setRecordingDevice(String deviceId) → Future<void>
Specifies the audio recording device.
setRecordingDeviceMute(bool mute) → Future<void>
Mutes the current audio recording device.
setRecordingDeviceVolume(int volume) → Future<void>
Sets the volume of the audio recording device.
startAudioDeviceLoopbackTest(int indicationInterval) → Future<void>
Starts the audio device loopback test.
startPlaybackDeviceTest(String testAudioFilePath) → Future<void>
Starts the audio playback device test.
startRecordingDeviceTest(int indicationInterval) → Future<void>
Starts the audio recording device test.
stopAudioDeviceLoopbackTest() → Future<void>
Stops the audio device loopback test.
stopPlaybackDeviceTest() → Future<void>
Stops the audio playback device test.
stopRecordingDeviceTest() → Future<void>
Stops the audio recording device test.
toString() → String
A string representation of this object.
inherited

Operators

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