Build 1.0_r1(from source)

android.speech.recognition
Interface GrammarListener

All Known Subinterfaces:
EmbeddedGrammarListener, SrecGrammarListener
All Known Implementing Classes:
AbstractEmbeddedGrammarListener, AbstractGrammarListener, AbstractSrecGrammarListener

public interface GrammarListener

Listens for Grammar events.


Method Summary
 void onError(Exception e)
          Invoked when a grammar operation fails.
 void onLoaded()
          Invoked after the Grammar is loaded.
 void onUnloaded()
          Invoked after the Grammar is unloaded.
 

Method Detail

onLoaded

void onLoaded()
Invoked after the Grammar is loaded.


onUnloaded

void onUnloaded()
Invoked after the Grammar is unloaded.


onError

void onError(Exception e)
Invoked when a grammar operation fails.

Parameters:
e - the cause of the failure.
IOException if the grammar could not be loaded or saved.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature