AudioDeviceManager
Audio device manager for managing audio devices.
Methods
callKitProviderDidActivateAudioSession
Called when the call kit provider activates the audio session.
Returns
type:
void
callKitProviderDidDeactivateAudioSession
Called when the call kit provider deactivates the audio session.
Returns
type:
void
getInstance
Static
Returns
type:
selectDevice
Selects an audio device.
Parameters
device:
Audio device to select.
Returns
type:
Promise<void>
setDefaultDeviceType
Sets the default audio device type.
Parameters
deviceType:
Default audio device type.
Returns
type:
void
Props
devices
Watchable property that allows getting the list of audio devices and observing its changes.
selectedDevice
Watchable property that allows getting the selected audio device and observing its changes.