MapboxVoiceInstructionsPlayer

constructor(context: Context, language: String, options: VoiceInstructionsPlayerOptions = defaultOptions(), audioFocusDelegate: AudioFocusDelegate)


constructor(    context: Context,     language: String,     options: VoiceInstructionsPlayerOptions = defaultOptions(),     audioFocusDelegate: AsyncAudioFocusDelegate = defaultAudioFocusDelegate(context, options),     timerFactory: Provider<Timer> = defaultTimerFactory())

Parameters

context

Context

language

Locale language (in a format acceptable by Locale)

audioFocusDelegate
timerFactory

Provider (optional)