TPositionCriteria Class Reference

API published in: S60 2nd Ed FP 2

Link against: lbs.lib

Capability Information

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 <lbscriteria.h>

Inherits TPositionCriteriaBase.


Detailed Description

The standard class criteria class for selecting a positioning module.

Public Member Functions

IMPORT_C  TPositionCriteria ()
  Default constructor for TPositionCriteria.
IMPORT_C  TPositionCriteria (TPositionModuleInfo::TCapabilities aCapabilityMask)
  Constructor for TPositionCriteria that specifies mandatory additional capabilities of the positioning module used to provide the application with position information.

Constructor & Destructor Documentation

IMPORT_C TPositionCriteria::TPositionCriteria  ) 
 

Default constructor for TPositionCriteria.

IMPORT_C TPositionCriteria::TPositionCriteria TPositionModuleInfo::TCapabilities  aCapabilityMask  ) 
 

Constructor for TPositionCriteria that specifies mandatory additional capabilities of the positioning module used to provide the application with position information.

Parameters:
aCapabilityMask  is a bit mask of values from the enumeration TPositionModuleInfo::_TCapabilities. Defaults to TPositionModuleInfo::ECapabilityHorizontal.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top