playAudioMessage

open override fun playAudioMessage(audioMessage: AudioMessage, playbackListener: MessagePlaybackListener)

Synthesizes an audio message. If another audioMessage is currently being processed this one will be added to the queue. If there is already another AudioMessages in the queue it will be flushed and replaced by this one.

Parameters

audioMessage

Message to be synthesized.

playbackListener

Listener to report the status of the audioMessage playback.