| 
                   | 
               
                  
                   | 
            |
Location: 
            speechrecognitioncustomcommandimplementor.h
            
         
class MSpeechRecognitionCustomCommandImplementor;
This is the main class of Speech Recognition Custom Commands Implementor.
Defined in MSpeechRecognitionCustomCommandImplementor:
            MSrAddPronunciationL(), MSrAddRuleL(), MSrCancel(), MSrCommitChangesL(), MSrCreateGrammarL(), MSrCreateLexiconL(), MSrCreateModelBankL(), MSrEndRecSessionL(), MSrGetAllClientGrammarIDsL(), MSrGetAllClientLexiconIDsL(), MSrGetAllClientModelBankIDsL(), MSrGetAllGrammarIDsL(), MSrGetAllLexiconIDsL(), MSrGetAllModelBankIDsL(), MSrGetAllModelIDsL(), MSrGetAllPronunciationIDsL(), MSrGetAllRuleIDsL(), MSrGetAvailableStorageL(), MSrGetEnginePropertiesL(), MSrGetModelCountL(), MSrGetRuleValidityL(), MSrGetUtteranceDurationL(), MSrLoadEngineParametersL(), MSrLoadGrammarL(), MSrLoadLexiconL(), MSrLoadModelsL(), MSrPlayUtteranceL(), MSrRecognizeL(), MSrRecordL(), MSrRemoveGrammarL(), MSrRemoveLexiconL(), MSrRemoveModelBankL(), MSrRemoveModelL(), MSrRemovePronunciationL(), MSrRemoveRuleL(), MSrSetClientUid(), MSrStartRecSessionL(), MSrTrainL(), MSrUnloadRuleL()
            
         
virtual void MSrAddPronunciationL(TLexiconID aLexiconID, TModelBankID aModelBankID, TModelID aModelID, TPronunciationID &aPronunciationID)=0;
Adds a new pronunciation for the given model into the specified lexicon.
                  
  | 
            
virtual void MSrAddRuleL(TGrammarID aGrammarID, TLexiconID aLexiconID, TPronunciationID aPronunciationID, TRuleID &aRuleID)=0;
Adds a new rule for the given pronunciation into the specified grammar.
                  
  | 
            
virtual void MSrCreateGrammarL(TGrammarID &aGrammarID)=0;
Creates a new grammar.
                  
  | 
            
virtual void MSrCreateLexiconL(TLexiconID &aLexiconID)=0;
Creates a new lexicon.
                  
  | 
            
virtual void MSrCreateModelBankL(TModelBankID &aModelBankID)=0;
Creates a new model bank.
                  
  | 
            
virtual void MSrEndRecSessionL()=0;
Ends the current recognition session. Resources allocated for recognition are freed.
virtual void MSrGetAllClientGrammarIDsL(RArray< TGrammarID > &aGrammarIDs)=0;
Returns all grammar IDs that are owned by the client.
                  
  | 
            
virtual void MSrGetAllClientLexiconIDsL(RArray< TLexiconID > &aLexiconIDs)=0;
Returns all lexicon IDs that are owned by the client.
                  
  | 
            
virtual void MSrGetAllClientModelBankIDsL(RArray< TModelBankID > &aModelBankIDs)=0;
Returns all modelbank IDs that are owned by the client.
                  
  | 
            
virtual void MSrGetAllGrammarIDsL(RArray< TGrammarID > &aGrammarIDs)=0;
Returns all grammar IDs.
                  
  | 
            
virtual void MSrGetAllLexiconIDsL(RArray< TLexiconID > &aLexiconIDs)=0;
Returns all lexicon IDs.
                  
  | 
            
virtual void MSrGetAllModelBankIDsL(RArray< TModelBankID > &aModelBankIDs)=0;
Returns all modelbank IDs.
                  
  | 
            
virtual void MSrGetAllModelIDsL(TModelBankID aModelBankID, RArray< TModelID > &aModelIDs)=0;
Returns all model IDs that exist in the specified model bank.
                  
  | 
            
virtual void MSrGetAllPronunciationIDsL(TLexiconID aLexiconID, RArray< TPronunciationID > &aPronunciationIDs)=0;
Returns all pronunciation IDs that exist in the specified lexicon.
                  
  | 
            
virtual void MSrGetAllRuleIDsL(TGrammarID aGrammarID, RArray< TRuleID > &aRuleIDs)=0;
Returns all rule IDs that exist in the specified grammar.
                  
  | 
            
virtual void MSrGetAvailableStorageL(TInt &aCount)=0;
Returns the number of models available for training system wide, based on available disk space.
                  
  | 
            
virtual void MSrGetEnginePropertiesL(const RArray< TInt > &aPropertyId, RArray< TInt > &aPropertyValue)=0;
Returns the engine properties specified by the engine property ID array.
On return aPropertyValue contains an array of engine properties.
                  
  | 
            
virtual void MSrGetModelCountL(TModelBankID aModelBankID, TInt &aCount)=0;
Returns the number of models in the specified model bank.
                  
  | 
            
virtual void MSrGetRuleValidityL(TGrammarID aGrammarID, TRuleID aRuleID, TBool &aValid)=0;
Checks if the rule is valid or not.
                  
  | 
            
virtual void MSrGetUtteranceDurationL(TModelBankID aModelBankID, TModelID aModelID, TTimeIntervalMicroSeconds32 &aDuration)=0;
Returns the duration of the utterance for the specified model.
                  
  | 
            
virtual void MSrLoadGrammarL(TGrammarID aGrammarID)=0;
Loads the specified grammar in into the recognizer; done prior to recognition.
                  
  | 
            
virtual void MSrLoadLexiconL(TLexiconID aLexiconID)=0;
Loads the specified lexicon into the recognizer; done prior to recognition.
                  
  | 
            
virtual void MSrLoadModelsL(TModelBankID aModelBankID)=0;
Loads the specified model bank into the recognizer; done prior to recognition.
                  
  | 
            
virtual void MSrPlayUtteranceL(TModelBankID aModelBankID, TModelID aModelID)=0;
Plays the previously trained utterance.
                  
  | 
            
virtual void MSrRecognizeL(CSDClientResultSet &aResultSet)=0;
Initiates recognition; performed following loading of model bank, lexicon, and grammar.
                  
  | 
            
virtual void MSrRecordL(TTimeIntervalMicroSeconds32 aRecordTime)=0;
Records user utterance for training and recognition.
                  
  | 
            
virtual void MSrRemoveGrammarL(TGrammarID aGrammarID)=0;
Removes the specified grammar from the permanent storage.
Removing a grammar will remove all rules within the grammar.
                  
  | 
            
virtual void MSrRemoveLexiconL(TLexiconID aLexiconID)=0;
Removes the specified lexicon from the permanent storage.
Removing a lexicon will remove all pronunciations within the lexicon.
                  
  | 
            
virtual void MSrRemoveModelBankL(TModelBankID aModelBankID)=0;
Removes the specified model bank from the permanent storage.
Removing a model bank will remove all models within the model bank.
                  
  | 
            
virtual void MSrRemoveModelL(TModelBankID aModelBankID, TModelID aModelID)=0;
Removes the specified model from the specified model bank permanently.
                  
  | 
            
virtual void MSrRemovePronunciationL(TLexiconID aLexiconID, TPronunciationID aPronunciationID)=0;
Removes the specified pronunciation from the specified lexicon permanently.
                  
  | 
            
virtual void MSrRemoveRuleL(TGrammarID aGrammarID, TRuleID aRuleID)=0;
Removes the specified rule from the specified grammar permanently.
                  
  | 
            
virtual void MSrSetClientUid(TUid aClientUid)=0;
Sets the specified grammar client UID.
                  
  | 
            
virtual void MSrStartRecSessionL(TRecognitionMode aMode)=0;
Starts a new recognition session.
                  
  | 
            
virtual void MSrTrainL(TModelBankID aModelBankID, TModelID &aModelID)=0;
Trains a new model into the specified model bank.
                  
  | 
            
virtual void MSrUnloadRuleL(TGrammarID aGrammarID, TRuleID aRuleID)=0;
Unloads the specified rule from the specified grammar in temporary memory, previously loaded with LoadGrammarL().
The rule in the permanent storage remains intact.
                  
  | 
            
virtual void MSrLoadEngineParametersL(const RArray< TInt > &aParameterId, const RArray< TInt > &aParameterValue)=0;
Unloads the specified parameters to the engine.
                  
  |