CNssContextMgr Class Reference
class CNssContextMgr : public CActive |
CContextMgr is the implementation class for
MNssContextMgr interface. NssVASApi.lib
- Since
- 2.8
Constructor & Destructor Documentation
CNssContextMgr()
CNssContextMgr | ( | ) | [private] |
CNssContextMgr(CNssVASDatabase *)
C++ overloaded Constructor.
Member Functions Documentation
CNssContextListToMNssContextListConvertorL(CArrayPtrFlat< CNssContext > *)
Utility function for CContext to MNssContext List conversion, and call back to client
CancelGetContext()
Cancel get context / get context list / get global contexts
- Since
- 2.8
ConstructL()
void | ConstructL | ( | ) | [private] |
CreateContextL()
Creates an empty context object
- Since
- 2.8
DeleteContext(MNssDeleteContextClient *, MNssContext *)
DeleteContext is called to remove a context from the VAS DB. This method is asynchronous. A call back will be made to either DeleteContextCompleted() or DeleteContextFailed() as defined in the
MNssDeleteContextClient interface. It also returns an error code validating success of call to VAS DB.
- Since
- 2.8
GetContext(MNssGetContextClient *, const TDesC &)
GetContext is called to retrieve a context from the VAS DB. This method is asynchronous. A call back will be made to either GetContextCompleted() or GetContextFailed() as defined in the
MNssGetContextClient interface. It also returns an error code validating success of call to VAS DB.
- Since
- 2.8
GetContextList(MNssGetContextClient *)
GetContextList is called to retrieve a context list from the VAS DB. This method is asynchronous. A call back will be made to either GetContextListCompleted() or GetContextFailed() as defined in the
MNssGetContextClient interface. It also returns an error code validating success of call to VAS DB.
- Since
- 2.8
GetGlobalContexts()
GetGlobalContexts is called to get the list of global contexts in VAS DB. This method is synchronous (It used to be asynchronous before 2.8. A call back was made to either GetGlobalContextsCompleted() or GetContextFailed() as defined in the
MNssInterCompContextMgrClient interface. It also returned an error code validating success of call to VAS DB). This method is for use by internal VAS components.
- Since
- 2.8
HandleDeleteSrsDBCompleted()
void | HandleDeleteSrsDBCompleted | ( | ) | |
Call back function from SRS DB, through interface
MNssCoreSrsDBEventHandler Called after deleting from SRS DB is successful
- Since
- 2.8
HandleResetSrsDBCompleted()
void | HandleResetSrsDBCompleted | ( | ) | |
Call back function from SRS DB, through interface
MNssCoreSrsDBEventHandler Called after deleting from SRS DB is successful
- Since
- 2.8
HandleSaveSrsDBCompleted()
void | HandleSaveSrsDBCompleted | ( | ) | |
Call back function from SRS DB, through interface
MNssCoreSrsDBEventHandler Called after saving to SRS DB is successful
- Since
- 2.8
HandleSrsDBError(MNssCoreSrsDBEventHandler::TNssSrsDBResult)
Call back function from SRS DB, through interface
MNssCoreSrsDBEventHandler Called after saving or deleting to SRS DB is unsuccessful
- Since
- 2.8
ResetFactoryModels(MNssResetFactoryModelsClient *)
Deletes the speaker adapted models and creates new, speaker independent ones. Asynchronous.
- Since
- 2.8
RunError(TInt)
Error handler if RunL leaves.
CActive - Since
- 2.8
SaveClientData(MNssContext *)
SaveClientData is called to save client-specific data about the context. This method is asynchronous. A call back will be made to either SaveContextCompleted or SaveContextFailed() as defined in the MNssSaveContextClient interface. It also returns an error code validating success of call to VAS DB.
VasMNssContextMgr
- Since
- 2.8
Parameters
MNssContext * aContext | - the client data of this context will be updated. |
SaveContext(MNssSaveContextClient *, MNssContext *)
SaveContext is called to store a context to the VAS DB. This method is asynchronous. A call back will be made to either SaveContextCompleted() or SaveContextFailed() as defined in the
MNssSaveContextClient interface. It also returns an error code validating success of call to VAS DB.
- Since
- 2.8
TagExist(CNssContext *)
Determine if tag exists in the VAS Database for a context
- Since
- 2.8
VASDatabaseComplete(CArrayPtrFlat< CNssContext > *, CArrayPtrFlat< CNssTag > *, CArrayPtrFlat< CNssTagReference > *, TNssVASDBClientReturnCode)
Member Enumerations Documentation
Enum TNssCallBackState
Enumerators
ENone | |
EGetContextClientGetContext | |
EGetContextClientGetContextList | |
EDeleteContextClient | |
ESaveContextClient | |
ESaveClientDataClient | |
EInterCompContextMgrClientGetContext | |
EInterCompContextMgrClientGetContextList | |
EInterCompContextMgrClientGetGlobalContexts | |
Member Data Documentation
CNssContextBuilder * iContextBuilder
CArrayPtrFlat< CNssContext > * iContextList
MNssDeleteContextClient * iDeleteContextClient
MNssGetContextClient * iGetContextClient
MNssInterCompContextMgrClient * iInterCompContextMgrClient
CNssContext * iLocalContext
TBool
iModelBankAndLexiconExist
TBool
| iModelBankAndLexiconExist | [private] |
TSIModelBankID
iModelBankId
MNssResetFactoryModelsClient * iResetClient
MNssSaveContextClient * iSaveContextClient
CNssVASDatabase * iVasDatabase
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.