SpeechPlayerProvider

open fun SpeechPlayerProvider(context: Context, language: String, voiceLanguageSupported: Boolean, voiceInstructionLoader: VoiceInstructionLoader)

Constructed when creating an instance of NavigationSpeechPlayer.

Parameters

context

for the initialization of the speech players

language

to be used

voiceLanguageSupported

true if voiceLanguage is not null, false otherwise

voiceInstructionLoader

voice instruction loader

open fun SpeechPlayerProvider(context: Context, language: String, voiceLanguageSupported: Boolean, voiceInstructionLoader: VoiceInstructionLoader, connectivityStatus: ConnectivityStatusProvider)