Public Member Functions | |
virtual void | onLoaded ()=0 |
virtual void | onUnloaded ()=0 |
virtual void | onError (ReturnCode::Type returnCode)=0 |
virtual bool | isEmbeddedGrammarListener ()=0 |
virtual bool | isSrecGrammarListener ()=0 |
virtual void android.speech.recognition.GrammarListener.onLoaded | ( | ) | [pure virtual] |
Invoked after the grammar is loaded.
virtual void android.speech.recognition.GrammarListener.onUnloaded | ( | ) | [pure virtual] |
Invoked after the grammar is unloaded.
virtual void android.speech.recognition.GrammarListener.onError | ( | ReturnCode::Type | returnCode | ) | [pure virtual] |
Invoked when a grammar operation fails.
returnCode | READ_ERROR if the grammar could not be loaded. WRITE_ERROR if the grammar could not be saved. |
Implemented in android.speech.recognition.EmbeddedGrammarListener.
virtual bool android.speech.recognition.GrammarListener.isEmbeddedGrammarListener | ( | ) | [pure virtual] |
Returns true if the listener is an EmbeddedGrammarListener.
virtual bool android.speech.recognition.GrammarListener.isSrecGrammarListener | ( | ) | [pure virtual] |
Returns true if the listener is an SrecGrammarListener.