The SpeechRecognitionResult interface of the Web Speech API represents
single recognition match, which may contain multiple web.speech.SpeechRecognitionAlternative
The SpeechRecognitionResult interface of the Web Speech API represents single recognition match, which may contain multiple `web.speech.SpeechRecognitionAlternative`
(is-final this)
Property.
[Read Only] [Experimental]
The isFinal read-only property of the web.speech.SpeechRecognitionResult
is a js.Boolean
that states whether this result is final (true)
not (false) — if so, then this is the final time this result
be returned; if not, then this result is an interim result, and
be updated later on.
var myIsFinal = speechRecognitionResultInstance.isFinal;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/isFinal
Property. [Read Only] [Experimental] The isFinal read-only property of the `web.speech.SpeechRecognitionResult` is a `js.Boolean` that states whether this result is final (true) not (false) — if so, then this is the final time this result be returned; if not, then this result is an interim result, and be updated later on. `var myIsFinal = speechRecognitionResultInstance.isFinal;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/isFinal`
(item this)
Method.
[Experimental]
The item getter of the web.speech.SpeechRecognitionResult
interface
a standard getter that allows web.speech.SpeechRecognitionAlternative
within the result to be accessed via array syntax.
var myAlternative = speechRecognitionResultInstance[0];
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/item
Method. [Experimental] The item getter of the `web.speech.SpeechRecognitionResult` interface a standard getter that allows `web.speech.SpeechRecognitionAlternative` within the result to be accessed via array syntax. `var myAlternative = speechRecognitionResultInstance[0];` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/item`
(length this)
Property.
[Read Only] [Experimental]
The length read-only property of the web.speech.SpeechRecognitionResult
returns the length of the "array" — the number of web.speech.SpeechRecognitionAlternative
contained in the result (also referred to as "n-best alternatives".)
var myLength = speechRecognitionResultInstance.length;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/length
Property. [Read Only] [Experimental] The length read-only property of the `web.speech.SpeechRecognitionResult` returns the length of the \"array\" — the number of `web.speech.SpeechRecognitionAlternative` contained in the result (also referred to as \"n-best alternatives\".) `var myLength = speechRecognitionResultInstance.length;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult/length`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close