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-umutes voice instructions playback
updates button muted/un-muted state