AudioOutputSelector

Strategy interface for different audio output switchers.

Inheritors

Functions

Link copied to clipboard
abstract fun launchSelector()

Fire and forget option to show the output selector.

Link copied to clipboard
abstract suspend 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.