WebIDLpedia

SpeechRecognitionEvent interface

Definition

Web Speech API defines SpeechRecognitionEvent



// A full response, which could be interim or final, part of a continuous response or not
[Exposed=Window]
interface SpeechRecognitionEvent : Event {
    constructor(DOMString type, SpeechRecognitionEventInit eventInitDict);
    readonly attribute unsigned long resultIndex;
    readonly attribute SpeechRecognitionResultList results;
};

Methods and attributes that return objects implementing SpeechRecognitionEvent