Liking cljdoc? Tell your friends :D

speech.SpeechRecognitionResult

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

The SpeechRecognitionResult interface of the Web Speech API represents
single recognition match, which may contain multiple `speech.SpeechRecognitionAlternative`
raw docstring

is-finalcljs

(is-final this)

Property.

The isFinal read-only property of the speech.SpeechRecognitionResult is a web.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.

The isFinal read-only property of the `speech.SpeechRecognitionResult`
is a `web.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`
sourceraw docstring

itemcljs

(item this)

Method.

The item getter of the speech.SpeechRecognitionResult interface a standard getter that allows 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.

The item getter of the `speech.SpeechRecognitionResult` interface
a standard getter that allows `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`
sourceraw docstring

lengthcljs

(length this)

Property.

The length read-only property of the speech.SpeechRecognitionResult returns the length of the "array" — the number of 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.

The length read-only property of the `speech.SpeechRecognitionResult`
returns the length of the \"array\" — the number of `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`
sourceraw docstring

set-is-final!cljs

(set-is-final! this val)

Property.

The isFinal read-only property of the speech.SpeechRecognitionResult is a web.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.

The isFinal read-only property of the `speech.SpeechRecognitionResult`
is a `web.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`
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

The length read-only property of the speech.SpeechRecognitionResult returns the length of the "array" — the number of 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.

The length read-only property of the `speech.SpeechRecognitionResult`
returns the length of the \"array\" — the number of `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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close