SpeechRecognitionResult

package js.html

Available on js

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 also:

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

item(index:Int):SpeechRecognitionAlternative

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/SpeechRecognitionResult.html