android.speech.recognition.EmbeddedGrammar Class Reference

Inheritance diagram for android.speech.recognition.EmbeddedGrammar:

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

Collaboration graph
[legend]

List of all members.


Detailed Description

Grammar on an embedded recognizer.

Author:
Gili Tzabari, Marc Robitaille

Public Member Functions

virtual void compileAllSlots (ReturnCode::Type &returnCode)=0
virtual void resetAllSlots (ReturnCode::Type &returnCode)=0
virtual void save (const char *path, ReturnCode::Type &returnCode)=0
virtual void load (ReturnCode::Type &returnCode)=0
virtual void unload (ReturnCode::Type &returnCode)=0

Protected Member Functions

UAPI_EXPORT EmbeddedGrammar ()
virtual UAPI_EXPORT ~EmbeddedGrammar ()

Friends

class EmbeddedGrammarProxy
class GrammarProxy

Constructor & Destructor Documentation

UAPI_EXPORT android.speech.recognition.EmbeddedGrammar.EmbeddedGrammar (  )  [protected]

Prevent construction.

virtual UAPI_EXPORT android.speech.recognition.EmbeddedGrammar.~EmbeddedGrammar (  )  [protected, virtual]

Prevent destruction.


Member Function Documentation

virtual void android.speech.recognition.EmbeddedGrammar.compileAllSlots ( ReturnCode::Type returnCode  )  [pure virtual]

Compiles items that were added to any of the grammar slots.

Parameters:
returnCode ILLEGAL_ARGUMENT if the associated recognizer has been deleted

virtual void android.speech.recognition.EmbeddedGrammar.resetAllSlots ( ReturnCode::Type returnCode  )  [pure virtual]

Removes all words added to all slots.

Parameters:
returnCode ILLEGAL_ARGUMENT if the associated recognizer has been deleted

virtual void android.speech.recognition.EmbeddedGrammar.save ( const char *  path,
ReturnCode::Type returnCode 
) [pure virtual]

Saves the compiled grammar.

Parameters:
path the path to save the grammar to
returnCode ILLEGAL_ARGUMENT if the associated recognizer has been deleted

virtual void android.speech.recognition.Grammar.load ( ReturnCode::Type returnCode  )  [pure virtual, inherited]

Indicates that the grammar will be used in the near future.

Parameters:
returnCode ILLEGAL_ARGUMENT if the associated recognizer has been deleted

virtual void android.speech.recognition.Grammar.unload ( ReturnCode::Type returnCode  )  [pure virtual, inherited]

Indicates that the grammar won't be used in the near future.

Parameters:
returnCode ILLEGAL_ARGUMENT if the associated recognizer has been deleted


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