-
- All Implemented Interfaces:
-
cz.mroczis.netmonster.core.feature.detect.INetworkDetector
public final class DetectorLteAdvancedServiceState implements INetworkDetector
Attempts to detect LTE Advanced / LTE Carrier aggregation
Based on ServiceState's contents added in Android O which describe if aggregation is currently active.
-
-
Constructor Summary
Constructors Constructor Description DetectorLteAdvancedServiceState()
-
Method Summary
Modifier and Type Method Description NetworkTypedetect(INetMonster netmonster, ITelephonyManagerCompat telephony)Performs search and detects current network type. -
-
Method Detail
-
detect
@RequiresPermission(allOf = {android.permission.ACCESS_FINE_LOCATION, android.permission.ACCESS_COARSE_LOCATION, android.permission.READ_PHONE_STATE}) NetworkType detect(INetMonster netmonster, ITelephonyManagerCompat telephony)
Performs search and detects current network type. Returns null if search was not successful or not possible at this moment.
-
-
-
-