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 <lbscommon.h>
Inherits TPositionModuleStatusBase.
Public Types |
|
typedef TInt | TDeviceStatus |
Defines the status of the positioning device. |
|
typedef TInt | TDataQualityStatus |
Defines the quality of the data returned by the positioning device. |
|
enum | _TDeviceStatus { EDeviceUnknown, EDeviceError, EDeviceDisabled, EDeviceInactive, EDeviceInitialising, EDeviceStandBy, EDeviceReady, EDeviceActive } |
The device status. More... |
|
enum | _TDataQualityStatus { EDataQualityUnknown, EDataQualityLoss, EDataQualityPartial, EDataQualityNormal } |
The data quality status. More... |
|
Public Member Functions |
|
IMPORT_C | TPositionModuleStatus () |
Default constructor for TPositionModuleStatus. |
|
IMPORT_C TDeviceStatus | DeviceStatus () const |
Get the current condition of the device used by the positioning module. |
|
IMPORT_C TDataQualityStatus | DataQualityStatus () const |
Get the quality of the position information determined by the positioning module. |
|
IMPORT_C void | SetDeviceStatus (TDeviceStatus aStatus) |
This method is not intended for the client's usage. |
|
IMPORT_C void | SetDataQualityStatus (TDataQualityStatus aStatus) |
This method is not intended for the client's usage. |
|
Protected Attributes |
|
TDeviceStatus | iDeviceStatus |
The device status. |
|
TDataQualityStatus | iDataQualityStatus |
The data quality status. |
|
Defines the quality of the data returned by the positioning device. The values are defined by the enumerator _TDataQualityStatus. |
|
Defines the status of the positioning device. The values are defined by the enumerator _TDeviceStatus. |
|
|
The device status.
|
|
Default constructor for TPositionModuleStatus. |
|
Get the quality of the position information determined by the positioning module.
|
|
Get the current condition of the device used by the positioning module.
|
|
This method is not intended for the client's usage. The positioning module uses this method to sets the quality of the position information determined by the positioning module.
|
|
This method is not intended for the client's usage. The positioning module uses this method to sets the current condition of the positioning device that it uses to obtain position information.
|
|
The data quality status. |
|
The device status. |