Enumeration SpeechEventType

Indicates start/middle/end of speech

Enumeration Members

END_OF_SPEECH: 3

Indicate the end of speech, emitted when the user stops speaking. The first alternative is a combination of all the previous FINAL_TRANSCRIPT events.

FINAL_TRANSCRIPT: 2

Final transcript, emitted when the STT is confident enough that a certain portion of the speech will not change.

INTERIM_TRANSCRIPT: 1

Interim transcript, useful for real-time transcription.

PREFLIGHT_TRANSCRIPT: 5

Preflight transcript, emitted before final transcript when STT has high confidence but hasn't fully committed yet. Includes all pre-committed transcripts including final transcript from the previous STT run.

RECOGNITION_USAGE: 4

Usage event, emitted periodically to indicate usage metrics.

START_OF_SPEECH: 0

Indicate the start of speech. If the STT doesn't support this event, this will be emitted at the same time as the first INTERIM_TRANSCRIPT.