setMuted

open fun setMuted(isMuted: Boolean)

Mutes or un-mutes the SpeechPlayer.

If an announcement is playing at the time this method is called,the announcement will be stopped immediately.

Parameters

isMuted

true to mute, false to un-mute