Speech Player Provider
open fun SpeechPlayerProvider(context: Context, language: String, voiceLanguageSupported: Boolean, voiceInstructionLoader: VoiceInstructionLoader)
Content copied to clipboard
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)
Content copied to clipboard