API published in: S60 2nd Ed FP 2
Link against: lbs.lib
Required Capabilities
None
Exceptions
The capability Location is required in:
TInt RPositionServer::GetDefaultModuleId(TPositionModuleId& aModuleId) const;
TInt RPositionServer::GetNumModules(TUint& aNumModules) const;
TInt RPositionServer::GetModuleInfoByIndex(TInt aModuleIndex, TPositionModuleInfoBase& aModuleInfo) const;
TInt RPositionServer::GetModuleInfoById(TPositionModuleId aModuleId, TPositionModuleInfoBase& aModuleInfo) const;
TInt RPositionServer::GetModuleStatus(TPositionModuleStatusBase& aPosModuleStatus, TPositionModuleId aModuleId) const;
void RPositionServer::NotifyModuleStatusEvent(TPositionModuleStatusEventBase& aStatusEvent,TRequestStatus& aStatus,const TPositionModuleId aModuleId = KPositionNullModuleId) const;
TInt RPositioner::SetRequestor(CRequestor::TRequestorType aType,CRequestor::TRequestorFormat aFormat,const TDesC& aData);
TInt RPositioner::SetRequestor(const RRequestorStack& aRequestorStack);
TInt RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase& aPosOption);
TInt RPositioner::GetUpdateOptions(TPositionUpdateOptionsBase& aPosOption) const;
void RPositioner::GetLastKnownPosition(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;
void RPositioner::NotifyPositionUpdate(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;
#include <lbspositioninfo.h>
Inherits TPositionInfoBase.
Inherited by HPositionGenericInfo, and TPositionCourseInfo.
Public Member Functions |
|
IMPORT_C | TPositionInfo () |
Default constructor. |
|
IMPORT_C void | GetPosition (TPosition &aPosition) const |
Get the position information returned by the positioning module. |
|
IMPORT_C void | SetPosition (const TPosition &aPosition) |
Set the position information. |
|
Protected Attributes |
|
TPosition | iPosition |
The TPosition. |
|
Default constructor. Sets the class type and class size in the base class (TPositionInfoBase). |
|
Get the position information returned by the positioning module.
|
|
Set the position information. This is usually called by the Location framework. Clients need not call this method.
|
|
The TPosition. |