Skip to main content

//clika-runtime/io.clika.modelverse/SpeakHandle

SpeakHandle

[common]
interface SpeakHandle

A running synthesis. cancel may be called from any thread. The model library runs an utterance to its end, so a cancel does not shorten the wait: the clip is dropped when the synthesis returns, SpeakListener.onClip is not called, and SpeakListener.onDone arrives with SpeakReport.canceled true.

Properties​

NameSummary
isDone[common]
abstract val isDone: Boolean
True once the listener's terminal call has been made.

Functions​

NameSummary
cancel[common]
abstract fun cancel()