AudioDeviceManager class abstract
Audio device management methods.
Constructors
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> > - Enumerates the audio playback devices.
-
enumerateRecordingDevices(
) → Future< List< AudioDeviceInfo> > - Enumerates the audio capture devices.
-
followSystemLoopbackDevice(
bool enable) → Future< void> - Sets whether the loopback device follows the system default playback device.
-
followSystemPlaybackDevice(
bool enable) → Future< void> - Sets the audio playback device used by the SDK to follow the system default audio playback device.
-
followSystemRecordingDevice(
bool enable) → Future< void> - Sets the audio recording device used by the SDK to follow the system default audio recording device.
-
getLoopbackDevice(
) → Future< String> - Gets the current loopback device.
-
getPlaybackDefaultDevice(
) → Future< AudioDeviceInfo> - Gets the default audio playback device.
-
getPlaybackDevice(
) → Future< String> - Retrieves the audio playback device associated with the device ID.
-
getPlaybackDeviceInfo(
) → Future< AudioDeviceInfo> - Retrieves the information of the audio playback device.
-
getPlaybackDeviceMute(
) → Future< bool> - Retrieves whether the audio playback device is muted.
-
getPlaybackDeviceVolume(
) → Future< int> - Retrieves the volume of the audio playback device.
-
getRecordingDefaultDevice(
) → Future< AudioDeviceInfo> - Gets the default audio capture device.
-
getRecordingDevice(
) → Future< String> - Gets the current audio recording device.
-
getRecordingDeviceInfo(
) → Future< AudioDeviceInfo> - Retrieves the information of the audio recording device.
-
getRecordingDeviceMute(
) → Future< bool> - Gets whether the audio capture device is muted.
-
getRecordingDeviceVolume(
) → Future< int> - Retrieves 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 the resources occupied by the AudioDeviceManager object.
-
setLoopbackDevice(
String deviceId) → Future< void> - Sets the loopback device.
-
setPlaybackDevice(
String deviceId) → Future< void> - Sets the audio playback device.
-
setPlaybackDeviceMute(
bool mute) → Future< void> - Mutes the audio playback device.
-
setPlaybackDeviceVolume(
int volume) → Future< void> - Sets the volume of the audio playback device.
-
setRecordingDevice(
String deviceId) → Future< void> - Sets the audio capture device.
-
setRecordingDeviceMute(
bool mute) → Future< void> - Sets the mute status of the audio capture device.
-
setRecordingDeviceVolume(
int volume) → Future< void> - Sets the volume of the audio capture device.
-
startAudioDeviceLoopbackTest(
int indicationInterval) → Future< void> - Starts an audio device loopback test.
-
startPlaybackDeviceTest(
String testAudioFilePath) → Future< void> - Starts the audio playback device test.
-
startRecordingDeviceTest(
int indicationInterval) → Future< void> - Starts the audio capturing 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 capturing device test.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited