API published in: S60 2nd Ed FP 2
Link against: lbs.lib
Location
#include <lbscommon.h>
Inherits TPositionQualityBase.
Public Types | |
| enum | TCostIndicator { ECostUnknown, ECostZero, ECostPossible, ECostCharge } |
| Indicates if there is likely to be a charge when obtaining location information using the associated positioning module. More... | |
| enum | TPowerConsumption { EPowerUnknown, EPowerZero, EPowerLow, EPowerMedium, EPowerHigh } |
| Indicates through a simple scale the likely power consumption associated with using a particular positioning module. More... | |
Public Member Functions | |
| IMPORT_C | TPositionQuality () |
| Default constructor for TPositionQuality Note that the horizontal accuracy and vertical accuracy are initially NaNs. | |
| IMPORT_C TTimeIntervalMicroSeconds | TimeToFirstFix () const |
| Get the time taken for the first position fix. | |
| IMPORT_C TTimeIntervalMicroSeconds | TimeToNextFix () const |
| Get the time taken for the subsequent position fixes. | |
| IMPORT_C TReal32 | HorizontalAccuracy () const |
| Get the horizontal accuracy. | |
| IMPORT_C TReal32 | VerticalAccuracy () const |
| Get the vertical accuracy. | |
| IMPORT_C TCostIndicator | CostIndicator () const |
| This method indicates if there will be a monetary charge for obtaining a position fix. | |
| IMPORT_C TPowerConsumption | PowerConsumption () const |
| This method indicates if there will be power consumption for obtaining a position fix. | |
| IMPORT_C void | SetTimeToFirstFix (TTimeIntervalMicroSeconds aTimeToFirstFix) |
| Set the time required to obtain an initial location fix. | |
| IMPORT_C void | SetTimeToNextFix (TTimeIntervalMicroSeconds aTimeToNextFix) |
| Set the time required to obtain subsequent location fixes after the first fix. | |
| IMPORT_C void | SetHorizontalAccuracy (TReal32 aHorizontalAccuracy) |
| Set the Horizontal Accuracy. | |
| IMPORT_C void | SetVerticalAccuracy (TReal32 aVerticalAccuracy) |
| Set the Vertical Accuracy. | |
| IMPORT_C void | SetCostIndicator (TCostIndicator aCost) |
| Set if there will be a monetary charge when a position fix is obtained. | |
| IMPORT_C void | SetPowerConsumption (TPowerConsumption aPower) |
| Set if there will be power consumption when a position fix is obtained. | |
|
|
|
Indicates through a simple scale the likely power consumption associated with using a particular positioning module.
|
|
|
Default constructor for TPositionQuality Note that the horizontal accuracy and vertical accuracy are initially NaNs. |
|
|
This method indicates if there will be a monetary charge for obtaining a position fix.
|
|
|
Get the horizontal accuracy. Horizontal accuracy reflects the error for the latitude and longitude components of a position.
|
|
|
This method indicates if there will be power consumption for obtaining a position fix. It indicates the expected internal power usage.
|
|
|
Set if there will be a monetary charge when a position fix is obtained.
|
|
|
Set the Horizontal Accuracy.
|
|
|
Set if there will be power consumption when a position fix is obtained.
|
|
|
Set the time required to obtain an initial location fix.
|
|
|
Set the time required to obtain subsequent location fixes after the first fix.
|
|
|
Set the Vertical Accuracy.
|
|
|
Get the time taken for the first position fix. Different positioning technologies can take a different amount of time to obtain the first position fix and subsequent fixes.
|
|
|
Get the time taken for the subsequent position fixes. Different positioning technologies can take a different amount of time to obtain the first position fix and subsequent fixes.
|
|
|
Get the vertical accuracy. Vertical accuracy is the error in the altitude component. This method returns the vertical accuracy.
|