public class TranscriptionUpdate
One immutable streaming hypothesis. A partial update replaces the preceding hypothesis for the same segmentId; only isFinal commits that segment. Bounds are audio seconds since stream creation, including captured silence.
if update.isFinal: print(update.text)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | endend as Double |
Audio interval end. |
| public readonly property | isFinalisFinal as Boolean |
False for revisable text, true for a completed utterance. |
| public readonly property | languagelanguage as String |
Detected/selected language code. |
| public readonly property | segmentIdsegmentId as Long |
Stable utterance identifier. |
| public readonly property | startstart as Double |
Audio interval start. |
| public readonly property | texttext as String |
Current hypothesis. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | TranscriptionUpdate | Captures one hypothesis; negative IDs/invalid bounds are rejected. |