BluetoothSettingsOutputSelector

Implementation of audio output selection using bluetooth settings fragment and waiting up to 15 seconds for a new output to be available.

Constructors

Link copied to clipboard
constructor(audioOutputRepository: AudioOutputRepository)

Functions

Link copied to clipboard
open override fun launchSelector()

Fire and forget option to show the output selector.

Link copied to clipboard
open suspend override fun selectNewOutput(currentAudioOutput: AudioOutput): AudioOutput?

Change from the current audio output, according to some sensible logic, and return when either the user has selected a new audio output or returning null if timed out.