AudioDeviceManager
interface AudioDeviceManager
An audio device manager.
Samples
com.pexip.sdk.media.AudioDeviceManagerSampleProperties
Functions
Link copied to clipboard
Clears currently selected audio device.
Link copied to clipboard
Disposes this AudioDeviceManager and releases any held resources.
Link copied to clipboard
abstract fun registerOnAvailableAudioDevicesChangedListener(listener: AudioDeviceManager.OnAvailableAudioDevicesChangedListener)
Registers a OnAvailableAudioDevicesChangedListener.
Link copied to clipboard
abstract fun registerOnSelectedAudioDeviceChanged(listener: AudioDeviceManager.OnSelectedAudioDeviceChangedListener)
Registers a OnSelectedAudioDeviceChangedListener.
Link copied to clipboard
Selects an audio device.
Link copied to clipboard
abstract fun unregisterOnAvailableAudioDevicesChangedListener(listener: AudioDeviceManager.OnAvailableAudioDevicesChangedListener)
Unregisters a OnAvailableAudioDevicesChangedListener.
Link copied to clipboard
abstract fun unregisterOnSelectedAudioDeviceChanged(listener: AudioDeviceManager.OnSelectedAudioDeviceChangedListener)
Unregisters a OnSelectedAudioDeviceChangedListener.
Inherited functions
Link copied to clipboard
fun AudioDeviceManager.availableAudioDevicesIn(scope: CoroutineScope, started: SharingStarted): StateFlow<List<AudioDevice>>
Converts this AudioDeviceManager to available audio devices StateFlow.
Link copied to clipboard
Converts this AudioDeviceManager to available audio devices Flow.
Link copied to clipboard
Converts this AudioDeviceManager to selected audio device Flow.
Link copied to clipboard
fun AudioDeviceManager.selectedAudioDeviceIn(scope: CoroutineScope, started: SharingStarted): StateFlow<AudioDevice?>
Converts this AudioDeviceManager to selected audio device StateFlow.