Final

data class Final(val text: String, val confidence: Float = 0.0f, val words: List<TranscriptionResult.Word> = emptyList(), val startTime: Duration? = null, val endTime: Duration? = null) : TranscriptionResult

Final transcription result for a completed segment of speech. Once emitted, this segment will not change.

Constructors

Link copied to clipboard
constructor(text: String, confidence: Float = 0.0f, words: List<TranscriptionResult.Word> = emptyList(), startTime: Duration? = null, endTime: Duration? = null)

Properties

Link copied to clipboard

Confidence score from 0.0 to 1.0

Link copied to clipboard

End time of this segment in the audio stream

Link copied to clipboard

Start time of this segment in the audio stream

Link copied to clipboard

The finalized transcribed text

Link copied to clipboard

Individual word-level details, if available