Build 1.0_r1(from source)

android.speech.recognition
Interface Grammar

All Known Subinterfaces:
EmbeddedGrammar, SrecGrammar
All Known Implementing Classes:
EmbeddedGrammarImpl, GrammarImpl, SrecGrammarImpl

public interface Grammar

Speech recognition grammar.


Method Summary
 void dispose()
          (Optional operation) Releases resources associated with the object.
 void load()
          Load the grammar sets the grammar state to active, indicating that can be used in a recognition process.
 void unload()
          Unload the grammar sets the grammar state to inactive (inactive grammars can not be used as a parameter of a recognition).
 

Method Detail

load

void load()
Load the grammar sets the grammar state to active, indicating that can be used in a recognition process. Multiple grammars can be loaded, but only one at a time can be used by the recognizer.


unload

void unload()
Unload the grammar sets the grammar state to inactive (inactive grammars can not be used as a parameter of a recognition).


dispose

void dispose()
(Optional operation) Releases resources associated with the object. The grammar may not be used past this point.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature