AndroidAutoAudioFocusDelegate

class AndroidAutoAudioFocusDelegate(context: Context, options: VoiceInstructionsPlayerOptions) : AsyncAudioFocusDelegate, AudioManager.OnAudioFocusChangeListener

Constructors

Link copied to clipboard
constructor(context: Context, options: VoiceInstructionsPlayerOptions)

Functions

Link copied to clipboard
open override fun abandonFocus(callback: AudioFocusRequestCallback)
Link copied to clipboard
open override fun onAudioFocusChange(focusChange: Int)
Link copied to clipboard
open override fun requestFocus(owner: AudioFocusOwner, callback: AudioFocusRequestCallback)