setHandleAudioFocus

fun Player.setHandleAudioFocus(handleAudioFocus: Boolean)

Handle audio focus with the currently set AudioAttributes.

Parameters

handleAudioFocus

true if the player should handle audio focus, false otherwise.