android.speech.recognition.impl
Class EmbeddedGrammarImpl
java.lang.Object
android.speech.recognition.impl.GrammarImpl
android.speech.recognition.impl.EmbeddedGrammarImpl
- All Implemented Interfaces:
- EmbeddedGrammar, Grammar, Runnable
- Direct Known Subclasses:
- SrecGrammarImpl
public class EmbeddedGrammarImpl
- extends GrammarImpl
- implements EmbeddedGrammar
|
Method Summary |
void |
compileAllSlots()
Compiles items that were added to any of the grammar slots. |
void |
resetAllSlots()
Removes all words added to all slots. |
void |
save(String url)
Saves the compiled grammar. |
EmbeddedGrammarImpl
public EmbeddedGrammarImpl(long nativeObject)
- Creates a new EmbeddedGrammarImpl.
- Parameters:
nativeObject - a reference to the native object
compileAllSlots
public void compileAllSlots()
- Description copied from interface:
EmbeddedGrammar
- Compiles items that were added to any of the grammar slots.
- Specified by:
compileAllSlots in interface EmbeddedGrammar
resetAllSlots
public void resetAllSlots()
- Description copied from interface:
EmbeddedGrammar
- Removes all words added to all slots.
- Specified by:
resetAllSlots in interface EmbeddedGrammar
save
public void save(String url)
- Description copied from interface:
EmbeddedGrammar
- Saves the compiled grammar.
- Specified by:
save in interface EmbeddedGrammar
- Parameters:
url - the url to save the grammar to
Please submit a feedback, bug or feature