For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface SpeechRecognitionResultList

The SpeechRecognitionResultList interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in non-continuous mode. Available only in secure contexts.

MDN Reference

interface SpeechRecognitionResultList {
    length: number;
    "[iterator]"(): ArrayIterator<SpeechRecognitionResult>;
    item(index: number): SpeechRecognitionResult;
    [index: number]: SpeechRecognitionResult;
}

Indexable

Index
length: number

The length read-only property of the SpeechRecognitionResultList interface returns the length of the "array" — the number of SpeechRecognitionResult objects in the list.

MDN Reference

Was this helpful?