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 TPositionClassTypeBase.
Inherited by TPositionInfo.
Class contains info about the update type and the ID of the module that gave the location fix
Public Member Functions |
|
IMPORT_C TPositionModuleId | ModuleId () const |
Get the unique identifier of the positioning module that provided the fix. |
|
IMPORT_C void | SetModuleId (TPositionModuleId aModuleId) |
Set the unique identifier of the positioning module that provided the fix. |
|
IMPORT_C TPositionUpdateType | UpdateType () const |
Get the type of position update provided to the client. |
|
IMPORT_C void | SetUpdateType (TPositionUpdateType aUpdateType) |
Set the type of position update provided to the client. |
|
Protected Member Functions |
|
IMPORT_C | TPositionInfoBase () |
Helper method. |
|
Protected Attributes |
|
TPositionModuleId | iModuleId |
The Id of the module that gave the location fix. |
|
TUint32 | iUpdateType |
The type of update that this location fix represents. |
|
Helper method. To be used within the class |
|
Get the unique identifier of the positioning module that provided the fix.
|
|
Set the unique identifier of the positioning module that provided the fix. This is usually called by the Location framework. Clients need not call this method.
|
|
Set the type of position update provided to the client. This is usually called by the Location framework. Clients need not call this method.
|
|
Get the type of position update provided to the client.
|
|
The Id of the module that gave the location fix. |
|
The type of update that this location fix represents. |