Package 

Class DetectorLteAdvancedServiceState

  • 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.

    • Method Summary

      Modifier and Type Method Description
      NetworkType detect(INetMonster netmonster, ITelephonyManagerCompat telephony) Performs search and detects current network type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DetectorLteAdvancedServiceState

        DetectorLteAdvancedServiceState()
    • 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.