Package-level declarations

Types

Link copied to clipboard
data class AgentAttributes(val lkAgentInputs: List<AgentInput>? = null, val lkAgentOutputs: List<AgentOutput>? = null, val lkAgentState: AgentState? = null, val lkPublishOnBehalf: String? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TranscriptionAttributes(val lkSegmentID: String? = null, val lkTranscribedTrackID: String? = null, val lkTranscriptionFinal: Boolean? = null)

Schema for transcription-related attributes

Link copied to clipboard
data class TranscriptionSegment(val id: String, val text: String, val language: String, val final: Boolean, val firstReceivedTime: Long = Date().time, val lastReceivedTime: Long = Date().time)

Functions

Link copied to clipboard

Merges newSegment info into this segment if the ids are equal.

Link copied to clipboard

Merges new segments into the map. The key should correspond to the segment id.