CLbsPrivacyControllerImpl Class Reference
class CLbsPrivacyControllerImpl : public CActive |
Inherits from
- CLbsPrivacyControllerImpl
Constructor & Destructor Documentation
CLbsPrivacyControllerImpl(MLbsPrivacyObserver *)
~CLbsPrivacyControllerImpl()
~CLbsPrivacyControllerImpl | ( | ) | |
Member Functions Documentation
CancelNetworkLocationRequest(TUint)
void | CancelNetworkLocationRequest | ( | TUint | aRequestId | ) | |
ConstructL()
void | ConstructL | ( | ) | [protected] |
DoCancel()
void | DoCancel | ( | ) | [protected, virtual] |
Implements cancellation of an outstanding request.
This function is called as part of the active object's Cancel().
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel() must not wait for event completion; this is handled by Cancel().
CActive::Cancel
HandleLbsSessionComplete()
void | HandleLbsSessionComplete | ( | ) | [private] |
Called when a session complete message has been received. Extract the data, which consists of the session id and the reason for completing the session, and pass it on to the observer
HandleLocationUpdate()
void | HandleLocationUpdate | ( | ) | [private] |
Called when a location update has been received. Extract the position data, and pass it on to the observer
HandlePrivacyRequest()
void | HandlePrivacyRequest | ( | ) | [private] |
Called when a privacy request has been received. Find out what sort of request it is, extract the data which specifies how to inform the user, and pass it on to the observer
NewL(MLbsPrivacyObserver *)
OnProcessCloseDown()
void | OnProcessCloseDown | ( | ) | [private] |
Callback from LbsRoot to tell this process to stop.
CLbsPrivacyControllerImpl should only register for this shutdown callback if the MLbsPrivacyObserver2 version of the privacy controller observer was used.
This callback will be triggered by LbsRoot when it is shutting down the LBS system. We must call ProcessCloseDownNotification to tell the privacy controller application to shutdown.
RespondNetworkLocationRequest(TUint, CLbsPrivacyController::TRequestVerificationResult)
Respond to a privacy query
RunL()
void | RunL | ( | ) | [protected, virtual] |
Called when the outstanding request is completed. This indicates that a message has been received from the server, so the type is identified and the data interpreted and handled accordingly. The request is then reisuued.
Member Data Documentation
MLbsPrivacyObserver * iObserver
TServerStartParams
iParams
TLbsNetSessionIdInt
iSessionId
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.