CNssContextSrsPortal Class Reference
class CNssContextSrsPortal : public CBase
|
Constructor & Destructor Documentation
~CNssContextSrsPortal()
~CNssContextSrsPortal
|
(
|
)
|
|
Member Functions Documentation
BeginDeleteContextL(CNssContext *, MNssCoreSrsDBEventHandler *)
Delete a context from SRS. Asyncronous function
-
Since
-
2.0
BeginResetModelsL(TSIModelBankID, TSIModelBankID &, MNssCoreSrsDBEventHandler *)
Reset speaker adapted models: Remove a model bank and create a new one.
-
Since
-
2.8
BeginSaveContextL(CNssContext *, MNssCoreSrsDBEventHandler *)
Save a context to SRS. Asyncronous function.
-
Since
-
2.0
CleanUp(TInt)
void
|
CleanUp
|
(
|
TInt
|
aResult
|
)
|
|
Clean up the SRS after the SRS operation fail
-
Since
-
2.0
CommitSaveContext()
TInt
|
CommitSaveContext
|
(
|
)
|
|
Commit a context from SRS. Syncronous function
-
Since
-
2.0
ContextCount()
Returns context count, number of contexts registered with the portal
-
Since
-
2.0
Deregister()
Deregister context from portal
-
Since
-
2.0
DoSrsDBResult(TInt)
Method to process the SRS DB error
-
Since
-
2.0
Parameters
TInt
aResult
|
- the result value from SRS to indicate an error
|
MsruoEvent(TUid, TInt)
void
|
MsruoEvent
|
(
|
TUid
|
aEvent,
|
|
TInt
|
aResult
|
|
)
|
|
overriding interface from MSpeechRecognitionUtilityObserver
-
Since
-
2.0
Register()
Register context to the portal
-
Since
-
2.0
RollbackSaveContext()
TInt
|
RollbackSaveContext
|
(
|
)
|
|
Don't commit a context from SRS. Syncronous function
-
Since
-
2.8
SetTerminationState(TNssTerminationState)
Set portal state to termination pending, or not pending
-
Since
-
2.0
Member Enumerations Documentation
Enum TNssTerminationState
Enumerators
EVASTERMINATION_PENDING
|
|
EVASTERMINATION_NOT_PENDING
|
|
Enum TState
Enumerators
EVASNone
|
|
EVASCreateModelBank
|
|
EVASCreateLexicon
|
|
EVASCreateGrammar
|
|
EVASRemoveModelBank
|
|
EVASRemoveLexicon
|
|
EVASRemoveGrammar
|
|
EVASResetRemoveModelBank
|
|
EVASResetCreateModelBank
|
|
EVasWaitForCommitChanges
|
|
Member Data Documentation
TInt
iContextCount
TInt
|
iContextCount
|
[private]
|
TSIModelBankID
iModelBankId
TBool
iRecovery
TBool
|
iRecovery
|
[private]
|
TSIModelBankID * iResetModelBankId
CNssSiUtilityWrapper * iSpeechRecognitionUtility
CNssSiUtilityWrapper *
|
iSpeechRecognitionUtility
|
[private]
|
MNssCoreSrsDBEventHandler * iSrsDBEventHandler
enum CNssContextSrsPortal::TState iState
TNssTerminationState
iTerminationState
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.