play

Given SpeechAnnouncement the method will play the voice instruction. If a voice instruction is already playing or other announcement are already queued, the given voice instruction will be queued to play after.

Parameters

announcement

object including the announcement text and optionally a synthesized speech mp3.

consumer

represents that the speech player is done playing