AudioDeviceChangeEvent

Listener interface for audio device changes.

Implement this to receive events when the selected audio device changes or when the set of available audio devices is updated (e.g., bluetooth headset connected/disconnected).

See also

Functions

Link copied to clipboard
abstract fun onAudioDeviceChanged(selectedAudioDevice: AudioDeviceInfo, audioDevices: Set<AudioDeviceInfo>)
Called when the audio device selection changes or available devices are updated.