#include <LbsCommon.h>
Link against:
lbs.lib
Link against:
lbsselflocate.lib
class TPositionQuality : public TPositionQualityBase;
Description
The standard position quality class.
Derivation
TPositionQuality
- The standard position quality class.
Members
Defined in TPositionQuality
:
Inherited from TPositionClassTypeBase
:
Inherited from TPositionQualityBase
:
Construction and destruction
IMPORT_C TPositionQuality();
Description
Default constructor for TPositionQuality
Note that the horizontal accuracy and vertical accuracy are initially NaNs.
IMPORT_C TTimeIntervalMicroSeconds TimeToFirstFix() const;
Description
The time required to obtain an initial location fix
Return value
IMPORT_C TTimeIntervalMicroSeconds TimeToNextFix() const;
Description
The time required to obtain subsequent location fixes
Return value
HorizontalAccuracy()const
IMPORT_C TReal32 HorizontalAccuracy() const;
Description
Horizontal Accuracy
Return value
IMPORT_C TReal32 VerticalAccuracy() const;
Description
The vertical accuracy
Return value
IMPORT_C TCostIndicator CostIndicator() const;
Description
The cost indicator
Return value
IMPORT_C TPowerConsumption PowerConsumption() const;
Description
The power consumption
Return value
SetTimeToFirstFix(TTimeIntervalMicroSeconds)
IMPORT_C void SetTimeToFirstFix(TTimeIntervalMicroSeconds aTimeToFirstFix);
Description
Sets time to first fix
Parameters
Panic codes
"LocationClient |
EPositionBadTime" if aTimeToFirstFix is negative.
|
|
SetTimeToNextFix(TTimeIntervalMicroSeconds)
IMPORT_C void SetTimeToNextFix(TTimeIntervalMicroSeconds aTimeToNextFix);
Description
Sets time to next fix
Parameters
Panic codes
"LocationClient |
EPositionBadTime" if aTimeToNextFix is negative.
|
|
SetHorizontalAccuracy(TReal32)
IMPORT_C void SetHorizontalAccuracy(TReal32 aHorizontalAccuracy);
Description
Sets horizontal accuracy
Parameters
TReal32 aHorizontalAccuracy |
The horizontal accuracy to set
|
|
Panic codes
"LocationClient |
EPositionBadAccuracy" if aHorizontalAccuracy is negative.
|
|
SetVerticalAccuracy(TReal32)
IMPORT_C void SetVerticalAccuracy(TReal32 aVerticalAccuracy);
Description
Sets vertical accuracy
Parameters
TReal32 aVerticalAccuracy |
The vertical accuracy to set
|
|
Panic codes
"LocationClient |
EPositionBadAccuracy" if aVerticalAccuracy is negative.
|
|
SetCostIndicator(TCostIndicator)
IMPORT_C void SetCostIndicator(TCostIndicator aCost);
Description
The cost indicator to set
Parameters
SetPowerConsumption(TPowerConsumption)
IMPORT_C void SetPowerConsumption(TPowerConsumption aPower);
Description
The power consumption to set
Parameters
TCostIndicator
Description
Cost Indicator for position request
ECostUnknown |
Unknown cost This is the unassigned value and should not be returned
|
ECostZero |
Zero cost No cost is expected to be incurred when obtaining a position fix
|
ECostPossible |
Possible cost The positioning module is uncertain if the user will incur a charge.
|
ECostCharge |
Charged The positioning module expects a charge to be levied when obtaining position information
|
|
TPowerConsumption
Description
Power consumption
EPowerUnknown |
Unknown power consumption The positioning module is unable to determine the likely power drain
|
EPowerZero |
Zero power consumption No internal power will be used when obtaining a position fix
|
EPowerLow |
Low power consumption The positioning module expects a minimum power drain when using the associated technology. This may
be comparable to the power usage when the phone is in standby mode.
|
EPowerMedium |
Medium power consumption The positioning module expects a moderate power drain when using the associated technology. This
may be comparable to the power usage when the phone is being actively used
|
EPowerHigh |
High power consumption The positioning module expects a high power drain when using the associated technology. Use of this
module will quickly consume the phone's batteries
|
|