The SpeechRecognitionResult interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.

Documentation SpeechRecognitionResult by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read onlyisFinal:Bool

A Boolean that states whether this result is final (true) or not (false) — if so, then this is the final time this result will be returned; if not, then this result is an interim result, and may be updated later on.

read onlylength:Int

Returns the length of the "array" — the number of SpeechRecognitionAlternative objects contained in the result (also referred to as "n-best alternatives".)

Methods