CommittedSegment

data class CommittedSegment(val index: Int, val text: String, val startMs: Long, val endMs: Long) : TranscriptionEvent(source)

A finalized segment. Committed segments are never revised.

Constructors

Link copied to clipboard
constructor(index: Int, text: String, startMs: Long, endMs: Long)

Properties

Link copied to clipboard
val endMs: Long

segment end (>= startMs).

Link copied to clipboard
val index: Int

zero-based, monotonically increasing segment index.

Link copied to clipboard

segment start, in milliseconds from the start of the stream.

Link copied to clipboard

segment text.