Package 

Class CellLocationMapper

  • All Implemented Interfaces:
    cz.mroczis.netmonster.core.telephony.mapper.ICellMapper

    
    public final class CellLocationMapper
     implements ICellMapper<Int>
                        

    Transforms TelephonyManager.getCellLocation into our representation.

    In older days signal, identity and PLMN info were separated into pieces and most of terminals did not update them synchronously which led to false-positive results. This class attempts to lower the overall error ratio.

    Generally I recommend to avoid using this data source when terminal has android.os.Build.VERSION_CODES.N or newer -> it's better to rely on CellInfoMapper.