The SpeechGrammarList interface of the Web Speech API represents
list of speech.SpeechGrammar
objects containing words or patterns
words that we want the recognition service to recognize.
The SpeechGrammarList interface of the Web Speech API represents list of `speech.SpeechGrammar` objects containing words or patterns words that we want the recognition service to recognize.
(add-from-string this string weight)
Method.
The addFromString() method of the speech.SpeechGrammarList
takes a grammar present in a specific dom.DOMString
within
code base (e.g. stored in a variable) and adds it to the SpeechGrammarList
a new speech.SpeechGrammar
object.
speechGrammarListInstance.addFromString(string,weight);
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString
Method. The addFromString() method of the `speech.SpeechGrammarList` takes a grammar present in a specific `dom.DOMString` within code base (e.g. stored in a variable) and adds it to the SpeechGrammarList a new `speech.SpeechGrammar` object. `speechGrammarListInstance.addFromString(string,weight);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString`
(add-from-uri this src weight)
Method.
The addFromURI() method of the speech.SpeechGrammarList
interface
a grammar present at a specific URI and adds it to the SpeechGrammarList
a new speech.SpeechGrammar
object.
speechGrammarListInstance.addFromURI(src,weight);
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI
Method. The addFromURI() method of the `speech.SpeechGrammarList` interface a grammar present at a specific URI and adds it to the SpeechGrammarList a new `speech.SpeechGrammar` object. `speechGrammarListInstance.addFromURI(src,weight);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI`
Constructor.
The SpeechGrammarList() constructor creates a new SpeechGrammarList object instance.
None.
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/SpeechGrammarList
Constructor. The SpeechGrammarList() constructor creates a new SpeechGrammarList object instance. None. See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/SpeechGrammarList`
(item this)
Method.
The item getter of the speech.SpeechGrammarList
interface is
standard getter — it allows individual speech.SpeechGrammar
to be retrieved from the SpeechGrammarList using array syntax.
var myFirstGrammar = speechGrammarListInstance[0];
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/item
Method. The item getter of the `speech.SpeechGrammarList` interface is standard getter — it allows individual `speech.SpeechGrammar` to be retrieved from the SpeechGrammarList using array syntax. `var myFirstGrammar = speechGrammarListInstance[0];` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/item`
(length this)
Property.
The length read-only property of the speech.SpeechGrammarList
returns the number of speech.SpeechGrammar
objects contained
the speech.SpeechGrammarList
.
var myListLength = speechGrammarListInstance.length;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length
Property. The length read-only property of the `speech.SpeechGrammarList` returns the number of `speech.SpeechGrammar` objects contained the `speech.SpeechGrammarList`. `var myListLength = speechGrammarListInstance.length;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length`
(set-length! this val)
Property.
The length read-only property of the speech.SpeechGrammarList
returns the number of speech.SpeechGrammar
objects contained
the speech.SpeechGrammarList
.
var myListLength = speechGrammarListInstance.length;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length
Property. The length read-only property of the `speech.SpeechGrammarList` returns the number of `speech.SpeechGrammar` objects contained the `speech.SpeechGrammarList`. `var myListLength = speechGrammarListInstance.length;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close