MapboxAudioGuidance

class MapboxAudioGuidance : MapboxNavigationObserver

Implementation of MapboxAudioGuidance. See interface for details.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Current instance of a VoiceInstructionsPlayer.

Link copied to clipboard
fun mute()

Explicit call to mute the audio guidance state.

Link copied to clipboard
open override fun onAttached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
open override fun onDetached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
fun stateFlow(): StateFlow<MapboxAudioGuidanceState>

This flow gives you access to the state of mapbox audio guidance without effecting state.

Link copied to clipboard
fun toggle()

Toggle the muted state. E.g., if audio is muted, make it unmuted.

Link copied to clipboard
fun unmute()

Explicit call to unmute the audio guidance state.