SpeechData contains metadata about this SpeechEvent.

interface SpeechData {
    confidence: number;
    endTime: number;
    language: string;
    startTime: number;
    text: string;
    words?: TimedString[];
}

Properties

confidence: number

Confidence score of the transcription (0-1).

endTime: number

End time of the speech segment in seconds.

language: string

Language code of the speech.

startTime: number

Start time of the speech segment in seconds.

text: string

Transcribed text.

words?: TimedString[]

Word-level timing information.