Package com.mapbox.navigation.ui.voice.model

Types

Link copied to clipboard
enum AudioFocusOwner : Enum<AudioFocusOwner>

Specifies the owner for the audio focus

Link copied to clipboard
class SpeechAnnouncement
Link copied to clipboard
class SpeechError

The state is returned if there is an error retrieving the voice instruction

Link copied to clipboard
class SpeechValue

The state is returned when the speech is ready to be played on the UI. It's also returned as a fallback when MapboxSpeechApi.generate fails. In this case, the File from the SpeechAnnouncement will be null.

Link copied to clipboard
data class SpeechVolume(@FloatRange(from = 0.0, to = 1.0) val level: Float)

The state is returned if we change the speech volume.