MapboxVoiceInstructionsPlayer
fun MapboxVoiceInstructionsPlayer( context: Context, language: String, options: VoiceInstructionsPlayerOptions = defaultOptions(), audioFocusDelegate: AudioFocusDelegate)
Content copied to clipboard
fun MapboxVoiceInstructionsPlayer( context: Context, language: String, options: VoiceInstructionsPlayerOptions = defaultOptions(), audioFocusDelegate: AsyncAudioFocusDelegate = defaultAudioFocusDelegate(context, options), timerFactory: Provider<Timer> = defaultTimerFactory())
Content copied to clipboard
Parameters
context
Context
options
VoiceInstructionsPlayerOptions (optional)
audioFocusDelegate
AsyncAudioFocusDelegate (optional)
timerFactory
Provider (optional)