CSpeechRecognitionUtility::CBody Class Reference
class CSpeechRecognitionUtility::CBody : public CBase
|
Inherits from
-
CSpeechRecognitionUtility::CBody
Public Member Functions
|
|
~CBody
()
|
TInt
|
AddPronunciation
(
TLexiconID
,
TModelBankID
,
TModelID
,
TPronunciationID
&)
|
TInt
|
AddRule
(
TGrammarID
,
TLexiconID
,
TPronunciationID
,
TRuleID
&)
|
void
|
Cancel
()
|
TInt
|
CommitChanges
()
|
TInt
|
CreateGrammar
(
TGrammarID
&)
|
TInt
|
CreateLexicon
(
TLexiconID
&)
|
TInt
|
CreateModelBank
(
TModelBankID
&)
|
TInt
|
EndRecSession
()
|
TInt
|
GetAllClientGrammarIDs
(
RArray
<
TGrammarID
> &)
|
TInt
|
GetAllClientLexiconIDs
(
RArray
<
TLexiconID
> &)
|
TInt
|
GetAllClientModelBankIDs
(
RArray
<
TModelBankID
> &)
|
TInt
|
GetAllGrammarIDs
(
RArray
<
TGrammarID
> &)
|
TInt
|
GetAllLexiconIDs
(
RArray
<
TLexiconID
> &)
|
TInt
|
GetAllModelBankIDs
(
RArray
<
TModelBankID
> &)
|
TInt
|
GetAllModelIDs
(
TModelBankID
,
RArray
<
TModelID
> &)
|
TInt
|
GetAllPronunciationIDs
(
TLexiconID
,
RArray
<
TPronunciationID
> &)
|
TInt
|
GetAllRuleIDs
(
TGrammarID
,
RArray
<
TRuleID
> &)
|
TInt
|
GetAvailableStorage
(
TInt
&)
|
TInt
|
GetEngineProperties
(const
RArray
<
TInt
> &,
RArray
<
TInt
> &)
|
TInt
|
GetModelCount
(
TModelBankID
,
TInt
&)
|
TInt
|
GetRuleValidity
(
TGrammarID
,
TRuleID
,
TBool
&)
|
TInt
|
GetUtteranceDuration
(
TModelBankID
,
TModelID
,
TTimeIntervalMicroSeconds32
&)
|
void
|
HandleEvent
(const
TMMFEvent
&)
|
TInt
|
LoadEngineParameters
(const
RArray
<
TInt
> &, const
RArray
<
TInt
> &)
|
TInt
|
LoadGrammar
(
TGrammarID
)
|
TInt
|
LoadLexicon
(
TLexiconID
)
|
TInt
|
LoadModels
(
TModelBankID
)
|
CSpeechRecognitionUtility::CBody
*
|
NewL
(
TUid
,
MSpeechRecognitionUtilityObserver
&)
|
CSpeechRecognitionUtility::CBody
*
|
NewLC
(
TUid
,
MSpeechRecognitionUtilityObserver
&)
|
TInt
|
PlayUtterance
(
TModelBankID
,
TModelID
)
|
TInt
|
Recognize
(
CSDClientResultSet
&)
|
TInt
|
Record
(
TTimeIntervalMicroSeconds32
)
|
TInt
|
RemoveGrammar
(
TGrammarID
)
|
TInt
|
RemoveLexicon
(
TLexiconID
)
|
TInt
|
RemoveModel
(
TModelBankID
,
TModelID
)
|
TInt
|
RemoveModelBank
(
TModelBankID
)
|
TInt
|
RemovePronunciation
(
TLexiconID
,
TPronunciationID
)
|
TInt
|
RemoveRule
(
TGrammarID
,
TRuleID
)
|
TInt
|
SetAudioPriority
(
TInt
,
TInt
,
TInt
,
TInt
)
|
void
|
SetEventHandler
(
MSpeechRecognitionUtilityObserver
*)
|
TInt
|
StartRecSession
(
TRecognitionMode
)
|
TInt
|
Train
(
TModelBankID
,
TModelID
&)
|
TInt
|
UnloadRule
(
TGrammarID
,
TRuleID
)
|
Constructor & Destructor Documentation
CBody(TUid, MSpeechRecognitionUtilityObserver &)
Member Functions Documentation
AddPronunciation(TLexiconID, TModelBankID, TModelID, TPronunciationID &)
AddRule(TGrammarID, TLexiconID, TPronunciationID, TRuleID &)
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
CreateGrammar(TGrammarID &)
CreateLexicon(TLexiconID &)
CreateModelBank(TModelBankID &)
GetAllClientGrammarIDs(RArray< TGrammarID > &)
GetAllClientLexiconIDs(RArray< TLexiconID > &)
GetAllClientModelBankIDs(RArray< TModelBankID > &)
GetAllGrammarIDs(RArray< TGrammarID > &)
GetAllLexiconIDs(RArray< TLexiconID > &)
GetAllModelBankIDs(RArray< TModelBankID > &)
GetAllModelIDs(TModelBankID, RArray< TModelID > &)
GetAllPronunciationIDs(TLexiconID, RArray< TPronunciationID > &)
GetAllRuleIDs(TGrammarID, RArray< TRuleID > &)
GetAvailableStorage(TInt &)
TInt
|
GetAvailableStorage
|
(
|
TInt
&
|
aAvailableStorage
|
)
|
|
GetEngineProperties(const RArray< TInt > &, RArray< TInt > &)
GetModelCount(TModelBankID, TInt &)
GetRuleValidity(TGrammarID, TRuleID, TBool &)
GetUtteranceDuration(TModelBankID, TModelID, TTimeIntervalMicroSeconds32 &)
HandleEvent(const TMMFEvent &)
void
|
HandleEvent
|
(
|
const
TMMFEvent
&
|
aEvent
|
)
|
|
LoadEngineParameters(const RArray< TInt > &, const RArray< TInt > &)
NewL(TUid, MSpeechRecognitionUtilityObserver &)
NewLC(TUid, MSpeechRecognitionUtilityObserver &)
PlayUtterance(TModelBankID, TModelID)
Recognize(CSDClientResultSet &)
Record(TTimeIntervalMicroSeconds32)
RemoveGrammar(TGrammarID)
RemoveLexicon(TLexiconID)
RemoveModel(TModelBankID, TModelID)
RemoveModelBank(TModelBankID)
RemovePronunciation(TLexiconID, TPronunciationID)
RemoveRule(TGrammarID, TRuleID)
SetAudioPriority(TInt, TInt, TInt, TInt)
TInt
|
SetAudioPriority
|
(
|
TInt
|
aPriority,
|
|
TInt
|
aTrainPreference,
|
|
TInt
|
aPlaybackPreference,
|
|
TInt
|
aRecognitionPreference
|
|
)
|
|
Parameters
TInt
aPriority
|
|
TInt
aTrainPreference
|
|
TInt
aPlaybackPreference
|
|
TInt
aRecognitionPreference
|
|
SetEventHandler(MSpeechRecognitionUtilityObserver *)
StartRecSession(TRecognitionMode)
Train(TModelBankID, TModelID &)
UnloadRule(TGrammarID, TRuleID)
Member Data Documentation
TBool
iAsyncCallBusy
TBool
|
iAsyncCallBusy
|
[private]
|
TInt
iAudioPriority
TInt
|
iAudioPriority
|
[private]
|
TUid
iClientUid
TUid
|
iClientUid
|
[private]
|
CMMFControllerEventMonitor * iControllerEventMonitor
RArray< TGrammarID > * iGrammarIDs
RArray< TLexiconID > * iLexiconIDs
RMMFController
iMMFController
RArray< TModelBankID > * iModelBankIDs
RArray< TModelID > * iModelIDs
TMdaPriorityPreference
iPlaybackPreference
TMMFPrioritySettings
iPrioritySettings
RArray< TPronunciationID > * iPronunciationIDs
TMdaPriorityPreference
iRecognitionPreference
CSDClientResultSet * iResultSet
RArray< TRuleID > * iRuleIDs
MSpeechRecognitionUtilityObserver * iSpeechRecognitionUtilityObserver
RSpeechRecognitionCustomCommands
iSrCustomCommands
TMdaPriorityPreference
iTrainPreference
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.