MapboxAudioGuidanceState
Represents the state of MapboxAudioGuidance.
Functions
Properties
Link copied to clipboard
Controlled by the MapboxAudioGuidance service. When MapboxAudioGuidance.mute is called this will be changed to true.
Link copied to clipboard
After a voiceInstructions has been announced, this value will be emitted. This will always be null when isMuted is true.
Link copied to clipboard
Once a voice instruction becomes available this will not be null. When the state isPlayable and this is null, it means there are no voice instructions on the route at this time.