TLbsNetPosRequestQuality Class Reference
class TLbsNetPosRequestQuality : public TLbsNetClassTypeBase
|
The
TLbsNetPosRequestQuality
is used by the network protocol module to specify the desired quality of a location request. An instance of the class is passed by the protocol module when it calls
MLbsNetworkProtocolObserver::ProcessLocationRequest
.
The parameters in
TLbsNetPosRequestQuality
include the desired minumum horizontal and vertical accuracy for the requested location update. It also enables a time limit and age of the fix to be specified.
The time limit indicates the maximum time the device should spend calculating before it responses to network.
The maximum fix age indicates that the network will accept a previous location calculation that is within the given time period.
It is possible to combine both the desired minimum accuracy and the maximum time. In this situation the LBS subsystem should respond either when the desired accuracy has been achieved or when the time limit has been reached.
CLbsLocationSourceBase::RequestLocationUpdate MLbsLocationSourceObserver
Constructor & Destructor Documentation
TLbsNetPosRequestQuality()
IMPORT_C
|
TLbsNetPosRequestQuality
|
(
|
)
|
|
Member Functions Documentation
MaxFixAge()
The maximum age of a location fix that is acceptable to the network.
SetMaxFixAge
MaxFixTime()
The maximum time the network is prepared to wait while lbs subsystem calculates the current location.
SetMaxFixTime
MinHorizontalAccuracy()
IMPORT_C
TReal32
|
MinHorizontalAccuracy
|
(
|
)
|
const
|
The desired minimum horizontal accuracy for a location update.
SetMaxFixTime
MinVerticalAccuracy()
IMPORT_C
TReal32
|
MinVerticalAccuracy
|
(
|
)
|
const
|
The desired minimum vertical accuracy for a location update.
SetMaxFixTime
SetMaxFixAge(TTimeIntervalMicroSeconds)
Specifies the maximum age of a location fix that can be returned to the network.
MaxFixAge
Parameters
TTimeIntervalMicroSeconds
aTime
|
specifies the maximum time that the data source should spend calculating the current location.
|
SetMaxFixTime(TTimeIntervalMicroSeconds)
The maximum time a data source should spend calculating the current location. When used in conjunction with SetMinHorizontalAccuracy and/or SetMinVerticalAccuracy the Lbs subsystem will produce an update either when the desired accuracy has be met or when the time limit is reached.
MaxFixTime
Parameters
TTimeIntervalMicroSeconds
aTime
|
specifies the maximum time that the data source should spend calculating the current location.
|
SetMinHorizontalAccuracy(TReal32)
IMPORT_C void
|
SetMinHorizontalAccuracy
|
(
|
TReal32
|
aAccuracy
|
)
|
|
The desired minimum horizontal accuracy for a location update. When used in conjunction with SetMaxFixTime the data source will produce an update either when the desired accuracy has be met or when the time limit is reached.
SetMaxFixTime
Parameters
TReal32
aAccuracy
|
specifies the desired minimum horizontal accuracy (in metres) for a location update produced by the data source.
|
SetMinVerticalAccuracy(TReal32)
IMPORT_C void
|
SetMinVerticalAccuracy
|
(
|
TReal32
|
aAccuracy
|
)
|
|
The desired minimum vertical accuracy for a location update. When used in conjunction with SetMaxFixTime the data source will produce an update either when the desired accuracy has be met or when the time limit is reached.
SetMaxFixTime
Parameters
TReal32
aAccuracy
|
specifies the desired minimum vertical accuracy (in metres) for a location update produced by the data source.
|
Member Data Documentation
TTimeIntervalMicroSeconds
iMaxFixAge
TTimeIntervalMicroSeconds
iMaxFixTime
TReal32
iMinHorizontalAccuracy
TReal32
|
iMinHorizontalAccuracy
|
[protected]
|
TReal32
iMinVerticalAccuracy
TReal32
|
iMinVerticalAccuracy
|
[protected]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.