Package com.mapbox.navigation.ui.voice.api
Types
Link copied to clipboard
An Api that allows you to interact with the audio focus in an asynchronous way.
Link copied to clipboard
An Api that allows you to interact with the audio focus
Link copied to clipboard
Interface definition for a callback to be invoked when a player requests audio focus
Link copied to clipboard
class MapboxSpeechApi @JvmOverloads constructor( context: Context, accessToken: String, language: String, options: MapboxSpeechApiOptions = MapboxSpeechApiOptions.Builder().build())
Content copied to clipboard
Mapbox Speech Api that allows you to generate an announcement based on VoiceInstructions
Link copied to clipboard
class MapboxVoiceInstructionsPlayer @JvmOverloads constructor( context: Context, accessToken: String, language: String, options: VoiceInstructionsPlayerOptions = VoiceInstructionsPlayerOptions.Builder()
.build(), audioFocusDelegate: AsyncAudioFocusDelegate = buildAndroidAudioFocus(context, options))
Content copied to clipboard
Hybrid implementation of MapboxVoiceInstructionsPlayer combining VoiceInstructionsTextPlayer and VoiceInstructionsFilePlayer speech players.
Link copied to clipboard
PlayerAttributes implements attributes that define how the audio system handles routing and focus decisions for the specified source.