play

open fun play(announcement: VoiceInstructions)

Plays the specified text instruction using MapboxSpeech API, defaulting to SSML input type

Parameters

announcement

with voice instruction to be synthesized and played