SpeechPlayerProvider

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

Constructed when creating an instance of NavigationSpeechPlayer.

Deprecated

use Builder instead

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

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