class TLbsNetPosMethod : public TLbsNetClassTypeBase |
TLbsNetPosMethod describe a positioning means (technology) and its mode of operation. It is used to by the network to request that a particilar method is used when calculating the current location. The class is also used to detail the positioning capabilities of the device.
TLbsNetDeviceCapabilities
Public Member Functions | |
---|---|
TLbsNetPosMethod() | |
IMPORT_C TUid | PosMeans() |
IMPORT_C TPositionModuleInfo::TTechnologyType | PosMode() |
IMPORT_C void | SetPosMethod(TUid, TPositionModuleInfo::TTechnologyType) |
Inherited Functions | |
---|---|
TLbsNetClassTypeBase::ClassSize()const | |
TLbsNetClassTypeBase::ClassType()const | |
TLbsNetClassTypeBase::TLbsNetClassTypeBase() |
Protected Attributes | |
---|---|
TUid | iPosMeans |
TPositionModuleInfo::TTechnologyType | iPosMode |
TUint8 | iReserved |
Inherited Attributes | |
---|---|
TLbsNetClassTypeBase::iClassSize | |
TLbsNetClassTypeBase::iClassType |
IMPORT_C | TLbsNetPosMethod | ( | ) |
Default Constructor for the TLbsNetPosMethod
This class is used by specify one positioning method that the LBS susbsystem should use to obtain location information. It comprises of a positioning "means" and an associated "mode".
The positioning "means" specifies the general mechanism that should be employed. For example, GPS, Cell or EOTD. Currently only GPS is supported.
The positioning "mode" refines the specified mechanism. For example, it indicates where the calculation should be performed and if assistance information should be used or requested. In particular, the calculation can either be performed on the terminal or on the network.
For autonomous GPS, the positioning "means" should be set to KLbsPositioningMeansGps and ETechnologyTerminal specified as the "mode".
For terminal based GPS, the positioning "means" should be set to KLbsPositioningMeansGps and "ETechnologyTerminal + ETechnologyAssisted" specified as the "mode".
For terminal assisted GPS, the positioning "means" should be set to KLbsPositioningMeansGps and "ETechnologyNetwork + ETechnologyAssisted" specified as the "mode".
IMPORT_C TUid | PosMeans | ( | ) | const |
The positioning technology (means)
Currently only GPS is support. This is indicated by the value KLbsPositioningMeansGps
IMPORT_C TPositionModuleInfo::TTechnologyType | PosMode | ( | ) | const |
The positioning mode of operation for the given technology. The indicates where the calculation should be performed and if assistance information should be used or requested.
For GPS a mode of ETechnologyTerminal indicates that autonomous mode should be used by the terminal.
A mode of "ETechnologyTerminal + ETechnologyAssisted" specifies Terminal Based calculations. Whereas, "ETechnologyNetwork + ETechnologyAssisted" represents Terminal Assisted mode.
SetPosMode()
IMPORT_C void | SetPosMethod | ( | TUid | aPosMeans, |
TPositionModuleInfo::TTechnologyType | aPosMode | |||
) |
Assigns a positioning mechanism and mode for a location request.
Only GPS position technology is currently supported. Parameter aPosMeans must be set to the value KLbsPositioningMeansGps.
Parameter "aPosMode" specifies the positioning mode of operation for the given technology. This parameter indicates where the calculation should be performed and if assistance information should be used or requested.
For GPS, a mode of ETechnologyTerminal indicates that GPS autonomous mode should be used by the terminal.
A mode of "ETechnologyTerminal + ETechnologyAssisted" specifies Terminal Based calculations. Whereas, "ETechnologyNetwork + ETechnologyAssisted" represents Terminal Assisted mode.
TUid aPosMeans | The positioning technology. This must be KLbsPositioningMeansGps |
TPositionModuleInfo::TTechnologyType aPosMode | The positioning operational mode |
TPositionModuleInfo::TTechnologyType | iPosMode | [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.