TPositionAreaExtendedInfo Class Reference
class TPositionAreaExtendedInfo : public TPositionAreaInfo |
TPositionAreaExtendedInfo is a specialised area class and provides detailed information about the match between the current network information and the network information related to a known position.
In the future the class may be extended to provide information about a match between other available location information (e.g. WiFi MAC address).
In order to provide a user with simplified area information, the match between the two network information should be translated into a area information supported by the TPositionAreaInfo type.
Network Info Match > Area info conversion table
||==========================================================================================||
|| Mobile Country Code | Mobile Network Code | Location Area Code | Cell Id | Area ||
||==========================================================================================||
|| 1 | 1 | 1 | 1 | EAreaCity ||
|| 1 | 1 | 1 | 0 | EAreaRegion ||
|| 1 | 1 | 0 | 0 | EAreaCountry ||
|| 1 | 0 | 0 | 0 | EAreaCountry ||
|| Any other combination | EAreaUnknown ||
||==========================================================================================||
Please note that the conversion of the Cell Id match assumes the worst case scenario, where cells are big (e.g. tens of km radius). In centres of big cities the cell sizes are normally much smaller, taking the area down to the District or even Street level.
Inherits from
- TPositionAreaExtendedInfo
Constructor & Destructor Documentation
TPositionAreaExtendedInfo()
IMPORT_C | TPositionAreaExtendedInfo | ( | ) | |
Member Functions Documentation
CellIdMatch()
IMPORT_C TBool | CellIdMatch | ( | ) | const |
Returns Cell Id code match.
In practice cell radius varies from 10s of meters in buildings, through 100s of meters in cities up to 10s of kilometres in countryside, but typically do not exceed 35 kilometres.
LocationAreaCodeMatch()
IMPORT_C TBool | LocationAreaCodeMatch | ( | ) | const |
Returns Location Area code match.
Typically a Location Area consists of 10s or even 100s of Cells.
CellIdMatch()
MobileCountryCodeMatch()
IMPORT_C TBool | MobileCountryCodeMatch | ( | ) | const |
Returns Country Code match. Country codes are network operator independent.
MobileNetworkCodeMatch()
IMPORT_C TBool | MobileNetworkCodeMatch | ( | ) | const |
Returns Mobile Network code match.
SetCellIdMatch(TBool)
IMPORT_C void | SetCellIdMatch | ( | TBool | aCidMatch | ) | |
Set whether a match for the Cell ID was found or not (this method is called by the server, not the client)
SetLocationAreaCodeMatch(TBool)
IMPORT_C void | SetLocationAreaCodeMatch | ( | TBool | aLacMatch | ) | |
Set whether a match for the Loca Area Code was found or not (this method is called by the server, not the client)
SetMobileCountryCodeMatch(TBool)
IMPORT_C void | SetMobileCountryCodeMatch | ( | TBool | aMccMatch | ) | |
Set whether a match for the Mobile Country Code was found or not (this method is called by the server, not the client)
SetMobileNetworkCodeMatch(TBool)
IMPORT_C void | SetMobileNetworkCodeMatch | ( | TBool | aMncMatch | ) | |
Set whether a match for the Mobile Network Code was found or not (this method is called by the server, not the client)
Member Data Documentation
TUint8
iReserved2
Unused variable for future expansion.
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.