Build 1.0_r1(from source)

android.speech.recognition
Interface EmbeddedGrammar

All Superinterfaces:
Grammar
All Known Subinterfaces:
SrecGrammar
All Known Implementing Classes:
EmbeddedGrammarImpl, SrecGrammarImpl

public interface EmbeddedGrammar
extends Grammar

Grammar on an embedded recognizer.


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.
 
Methods inherited from interface android.speech.recognition.Grammar
dispose, load, unload
 

Method Detail

compileAllSlots

void compileAllSlots()
Compiles items that were added to any of the grammar slots.


resetAllSlots

void resetAllSlots()
Removes all words added to all slots.


save

void save(String url)
Saves the compiled grammar.

Parameters:
url - the url to save the grammar to

Build 1.0_r1(from source)

Please submit a feedback, bug or feature