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.
||==========================================================================================|| || 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.
Public Member Functions | |
---|---|
TPositionAreaExtendedInfo () | |
IMPORT_C TBool | CellIdMatch () |
IMPORT_C TBool | LocationAreaCodeMatch () |
IMPORT_C TBool | MobileCountryCodeMatch () |
IMPORT_C TBool | MobileNetworkCodeMatch () |
IMPORT_C void | SetCellIdMatch ( TBool ) |
IMPORT_C void | SetLocationAreaCodeMatch ( TBool ) |
IMPORT_C void | SetMobileCountryCodeMatch ( TBool ) |
IMPORT_C void | SetMobileNetworkCodeMatch ( TBool ) |
Inherited Enumerations | |
---|---|
TPositionAreaInfo:_TArea |
Protected Attributes | |
---|---|
TBool | iCID |
TBool | iLAC |
TBool | iMCC |
TBool | iMNC |
Private Attributes | |
---|---|
TUint8 | iReserved2 |
Inherited Attributes | |
---|---|
TPositionAreaInfo::iArea | |
TPositionClassTypeBase::iPosClassSize | |
TPositionClassTypeBase::iPosClassType |
IMPORT_C | TPositionAreaExtendedInfo | ( | ) |
Constructor for TPositionAreaExtendedInfo
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.
IMPORT_C TBool | LocationAreaCodeMatch | ( | ) | const |
Returns Location Area code match.
Typically a Location Area consists of 10s or even 100s of Cells.
IMPORT_C TBool | MobileCountryCodeMatch | ( | ) | const |
Returns Country Code match. Country codes are network operator independent.
IMPORT_C TBool | MobileNetworkCodeMatch | ( | ) | const |
Returns Mobile Network code match.
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)
TBool aCidMatch |
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)
TBool aLacMatch |
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)
TBool aMccMatch |
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)
TBool aMncMatch |
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.