Navigation Speech Player
Used to play VoiceInstructionss.
Takes a SpeechPlayerProvider which will provide either a MapboxSpeechPlayer or AndroidSpeechPlayer based on the given language - if it is supported by our Voice API.
MapboxSpeechPlayer requires Internet connectivity. In cases where a connection is not available, the provider will fall back to the AndroidSpeechPlayer.
See also
com.mapbox.navigation.core.MapboxNavigation
MapboxNavigation#registerVoiceInstructionsObserver(VoiceInstructionsObserver)
Constructors
NavigationSpeechPlayer
Link copied to clipboard
open fun NavigationSpeechPlayer(speechPlayerProvider: SpeechPlayerProvider)
Content copied to clipboard
Functions
onOffRoute
Link copied to clipboard
open fun onOffRoute()
Content copied to clipboard
setMuted
Link copied to clipboard