audioGuidanceButton
fun ComponentInstaller.audioGuidanceButton(button: MapboxAudioGuidanceButton): Installation
Content copied to clipboard
Install component that connects MapboxAudioGuidanceButton to the default MapboxAudioGuidance instance.
The installed component:
handles button onClick events and mutes/un-mutes voice instructions playback
updates button muted/un-muted state