toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-signals-gm
/
com.mapbox.nav.gm.signals.data.datasource
/
AndroidAutoAudioFocusDelegate
Android
Auto
Audio
Focus
Delegate
class
AndroidAutoAudioFocusDelegate
(
context
:
Context
,
options
:
VoiceInstructionsPlayerOptions
)
:
AsyncAudioFocusDelegate
,
AudioManager.OnAudioFocusChangeListener
Members
Constructors
Android
Auto
Audio
Focus
Delegate
Link copied to clipboard
constructor
(
context
:
Context
,
options
:
VoiceInstructionsPlayerOptions
)
Functions
abandon
Focus
Link copied to clipboard
open
override
fun
abandonFocus
(
callback
:
AudioFocusRequestCallback
)
on
Audio
Focus
Change
Link copied to clipboard
open
override
fun
onAudioFocusChange
(
focusChange
:
Int
)
request
Focus
Link copied to clipboard
open
override
fun
requestFocus
(
owner
:
AudioFocusOwner
,
callback
:
AudioFocusRequestCallback
)