MapboxSpeechPlayer

open fun MapboxSpeechPlayer(context: Context, voiceListener: VoiceListener, voiceInstructionLoader: VoiceInstructionLoader)

Construct an instance of MapboxSpeechPlayer

Parameters

context

to setup the caches

voiceInstructionLoader

voice instruction loader