AsyncAudioFocusDelegate

An Api that allows you to interact with the audio focus in an asynchronous way.

Functions

Link copied to clipboard
abstract fun abandonFocus(callback: AudioFocusRequestCallback)

Abandon audio focus. Causes the previous focus owner, if any, to receive the focus.

Link copied to clipboard

Request audio focus. Send a request to obtain the audio focus