RecognizedUtterance

data class RecognizedUtterance(val text: String, val words: List<RecognizedWord>, val alternatives: List<String> = emptyList())

A finalized stretch of recognized speech.

Constructors

Link copied to clipboard
constructor(text: String, words: List<RecognizedWord>, alternatives: List<String> = emptyList())

Properties

Link copied to clipboard

Other plausible transcriptions, most likely first, excluding text.

Link copied to clipboard

The recognized text.

Link copied to clipboard

The words in text, with confidence and timing when the recognizer reported them.