Skip to main content

//clika-runtime/io.clika.modelverse/StageEventKind

StageEventKind

[common]
enum StageEventKind : Enum<StageEventKind>

What one StageEvent reports.

Entries​

STARTED[common]
STARTED
A stage began; StageEvent.tStartNs is set.
TEXT[common]
TEXT
A stage produced text (StageEvent.text; StageEvent.isFinal on its last piece).
AUDIO[common]
AUDIO
A stage produced audio (StageEvent.samples at StageEvent.sampleRate).
LANGUAGE[common]
LANGUAGE
A stage detected the language (StageEvent.language).
VISION[common]
VISION
A vision tower ran over the request's media (StageEvent.mediaCount).
DONE[common]
DONE
A stage ended; StageEvent.tStartNs and StageEvent.tEndNs span it.

Properties​

NameSummary
name[common]
val name: String
ordinal[common]
val ordinal: Int

Functions​

NameSummary
valueOf[common]
fun valueOf(value: String): StageEventKind
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[common]
fun values(): Array<StageEventKind>
Returns an array containing the constants of this enum type, in the order they're declared.