SpeechGrammarList

SpeechGrammarList

package js-html

Available on js

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 only length: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

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/SpeechGrammarList.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部