android.speech.recognition.EmbeddedGrammarListener Class Reference

Inheritance diagram for android.speech.recognition.EmbeddedGrammarListener:

Inheritance graph
[legend]
Collaboration diagram for android.speech.recognition.EmbeddedGrammarListener:

Collaboration graph
[legend]

List of all members.


Detailed Description

Listens for EmbeddedGrammar events.

Author:
Gili Tzabari

Public Member Functions

virtual void onSaved (const char *path)=0
virtual void onCompileAllSlots ()=0
virtual void onResetAllSlots ()=0
virtual void onError (ReturnCode::Type returnCode)=0
virtual void onLoaded ()=0
virtual void onUnloaded ()=0
virtual bool isEmbeddedGrammarListener ()=0
virtual bool isSrecGrammarListener ()=0

Member Function Documentation

virtual void android.speech.recognition.EmbeddedGrammarListener.onSaved ( const char *  path  )  [pure virtual]

Invoked after the grammar is saved.

Parameters:
path the path the grammar was saved to

virtual void android.speech.recognition.EmbeddedGrammarListener.onCompileAllSlots (  )  [pure virtual]

Invokes after all grammar slots have been compiled.

virtual void android.speech.recognition.EmbeddedGrammarListener.onResetAllSlots (  )  [pure virtual]

Invokes after all grammar slots have been reset.

virtual void android.speech.recognition.EmbeddedGrammarListener.onError ( ReturnCode::Type  returnCode  )  [pure virtual]

Invoked when an unexpected error occurs. This is normally followed by onStopped() if the component shuts down successfully.

Parameters:
returnCode GRAMMAR_SLOT_FULL if an item cannot be added into a grammar slot because it is full.
NOT_SUPPORTED if different words with the same pronunciation are added.
INVALID_STATE if reseting or compiling the slots fails.
READ_ERROR if the grammar could not be loaded.
WRITE_ERROR if the grammar could not be saved.

Implements android.speech.recognition.GrammarListener.

virtual void android.speech.recognition.GrammarListener.onLoaded (  )  [pure virtual, inherited]

Invoked after the grammar is loaded.

virtual void android.speech.recognition.GrammarListener.onUnloaded (  )  [pure virtual, inherited]

Invoked after the grammar is unloaded.

virtual bool android.speech.recognition.GrammarListener.isEmbeddedGrammarListener (  )  [pure virtual, inherited]

Returns true if the listener is an EmbeddedGrammarListener.

Returns:
true if the listener is an EmbeddedGrammarListener

virtual bool android.speech.recognition.GrammarListener.isSrecGrammarListener (  )  [pure virtual, inherited]

Returns true if the listener is an SrecGrammarListener.

Returns:
true if the listener is an SrecGrammarListener


Generated on Thu May 1 17:16:41 2008 for UAPI by  doxygen 1.5.3