@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public class SpeechGrammarList
extends java.lang.Object
| Constructor and Description |
|---|
SpeechGrammarList()
The SpeechGrammarList() constructor creates a new SpeechGrammarList object instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFromString(java.lang.String string)
The addFromString() method of the SpeechGrammarList interface takes a grammar present in a specific DOMString within the code base (e.g.
|
void |
addFromString(java.lang.String string,
float weight)
The addFromString() method of the SpeechGrammarList interface takes a grammar present in a specific DOMString within the code base (e.g.
|
void |
addFromURI(java.lang.String src)
The addFromURI() method of the SpeechGrammarList interface takes a grammar present at a specific URI and adds it to the SpeechGrammarList as a new SpeechGrammar object.
|
void |
addFromURI(java.lang.String src,
float weight)
The addFromURI() method of the SpeechGrammarList interface takes a grammar present at a specific URI and adds it to the SpeechGrammarList as a new SpeechGrammar object.
|
SpeechGrammar |
item(int index)
The item getter of the SpeechGrammarList interface is a standard getter — it allows individual SpeechGrammar objects to be retrieved from the SpeechGrammarList using array syntax.
|
int |
length()
The length read-only property of the SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList.
|
public SpeechGrammarList()
@JsProperty(name="length") public int length()
public void addFromString(@Nonnull
java.lang.String string,
float weight)
public void addFromString(@Nonnull
java.lang.String string)
public void addFromURI(@Nonnull
java.lang.String src,
float weight)
public void addFromURI(@Nonnull
java.lang.String src)
@Nonnull public SpeechGrammar item(int index)