Package com.mapbox.navigation.ui.voice.api

Types

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