AudioFocusDelegate

interface AudioFocusDelegate

An Api that allows you to interact with the audio focus

Functions

Link copied to clipboard
abstract fun abandonFocus(): Boolean

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

Link copied to clipboard
abstract fun requestFocus(): Boolean

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