-
- All Implemented Interfaces:
-
cz.mroczis.netmonster.core.feature.postprocess.ICellPostprocessor
public final class SignalStrengthPostprocessor implements ICellPostprocessor
Iterates over SignalStrength provided by TelephonyManager and attempts enrich already parsed serving cells with new signal data that are sometimes only available in this object.
Usually phones report different signal values when it comes to instance of CellSignalStrength bound to CellInfo and SignalStrength object that is just freely existing in TelephonyManager.
When speaking of SignalStrength from TelephonyManager we do not access it directly, we use ICell instances that are already parsed & validated by Core (old getCellLocation)
-
-
Constructor Summary
Constructors Constructor Description SignalStrengthPostprocessor(Function1<Integer, ICell> pairedCellGetter)
-
Method Summary
Modifier and Type Method Description List<ICell>postprocess(List<ICell> list)Postprocessing method that allows data modification within the list
-