requestFocus

abstract fun requestFocus(owner: AudioFocusOwner, callback: AudioFocusRequestCallback)

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

Parameters

owner

specifies the owner for request

callback

invoked when the delegate processed the audio request