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
options
VoiceInstructionsPlayerOptions (optional)
audioFocusDelegate
AsyncAudioFocusDelegate (optional)
timerFactory
Provider (optional)