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 TPositionUpdateOptionsBase.
Public Member Functions |
|
IMPORT_C | TPositionUpdateOptions () |
Default constructor for TPositionUpdateOptions. |
|
IMPORT_C | TPositionUpdateOptions (TTimeIntervalMicroSeconds aInterval, TTimeIntervalMicroSeconds aTimeOut=TTimeIntervalMicroSeconds(0), TTimeIntervalMicroSeconds aMaxAge=TTimeIntervalMicroSeconds(0), TBool aAcceptPartialUpdates=EFalse) |
Constructor for TPositionUpdateOptions. |
|
IMPORT_C void | SetAcceptPartialUpdates (TBool aAcceptPartialUpdates) |
Set whether partial updates can be accepted. |
|
IMPORT_C TBool | AcceptPartialUpdates () const |
Check if partial update option was set for this session. |
|
Protected Attributes |
|
TBool | iAcceptPartialUpdates |
Whether partial updates are accepted. |
|
Default constructor for TPositionUpdateOptions. |
|
Constructor for TPositionUpdateOptions. All parameters except aInterval have default values.
|
|
Check if partial update option was set for this session.
|
|
Set whether partial updates can be accepted. If partial updates are allowed, then timestamp is the only mandatory field. All other information like latitude, longitude etc. can be missing from the returned position information.
|
|
Whether partial updates are accepted. |