SpeechEvent is a packet of speech-to-text data.

interface SpeechEvent {
    alternatives?: [SpeechData, ...SpeechData[]];
    recognitionUsage?: RecognitionUsage;
    requestId?: string;
    type: SpeechEventType;
}

Properties

alternatives?: [SpeechData, ...SpeechData[]]
recognitionUsage?: RecognitionUsage
requestId?: string