Mapbox Voice Instructions Player
@UiThread()
Content copied to clipboard
Hybrid implementation of MapboxVoiceInstructionsPlayer combining VoiceInstructionsTextPlayer and VoiceInstructionsFilePlayer speech players.
Constructors
MapboxVoiceInstructionsPlayer
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Functions
play
Link copied to clipboard
fun play(announcement: SpeechAnnouncement, consumer: MapboxNavigationConsumer<SpeechAnnouncement>)
Content copied to clipboard
Given SpeechAnnouncement the method will play the voice instruction.
volume
Link copied to clipboard