The SpeechGrammarList interface of the Web Speech API represents a list of SpeechGrammar objects containing words or patterns of words that we want the recognition service to recognize.

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

See:

Constructor

new ()

Throws:

null

DOMError

Variables

read onlylength:Int

Returns the number of SpeechGrammar objects contained in the SpeechGrammarList.

Methods

addFromString (string:String, ?weight:Float):Void

Throws:

null

DOMError

addFromURI (src:String, ?weight:Float):Void

Throws:

null

DOMError

item (index:Int):SpeechGrammar

Throws:

null

DOMError