MNssContextMgr Class Reference
MNssContextMgr
is the public interface class for context management. It provides methods for context creation, saving context into the VAS database, retriving contexts from VAS database, and deletion of context from the VAS database. A context manager cannot be instantiated directly but needs to be got from the VAS DB manager. NssVASApi.lib
-
Since
-
2.8
Member Functions Documentation
CancelGetContext()
void
|
CancelGetContext
|
(
|
)
|
[pure virtual]
|
Cancel get context / get context list / get global contexts
-
Since
-
3.2
CreateContextL()
Create a new empty context
-
Since
-
2.0
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.0
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.0
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.0
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.
-
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.0
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.