@ Override public void play ( SpeechAnnouncement announcement ) { boolean isInvalidAnnouncement = announcement == null ; if ( isInvalidAnnouncement ) { return ; } this . announcement = announcement ; playAnnouncementTextAndTypeFrom ( announcement ) ; }
Plays the specified text instruction using MapboxSpeech API defaulting to SSML input type