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 |
UAPI_EXPORT android.speech.recognition.EmbeddedGrammar.EmbeddedGrammar | ( | ) | [protected] |
Prevent construction.
virtual UAPI_EXPORT android.speech.recognition.EmbeddedGrammar.~EmbeddedGrammar | ( | ) | [protected, virtual] |
Prevent destruction.
virtual void android.speech.recognition.EmbeddedGrammar.compileAllSlots | ( | ReturnCode::Type & | returnCode | ) | [pure virtual] |
Compiles items that were added to any of the grammar slots.
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.
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.
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.
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.
returnCode | ILLEGAL_ARGUMENT if the associated recognizer has been deleted |