Package 

Class DetectorHspaDc

  • All Implemented Interfaces:
    cz.mroczis.netmonster.core.feature.detect.INetworkDetector

    
    public final class DetectorHspaDc
     implements INetworkDetector
                        

    Attempts to detect HSPA+42 / HSPA+DC.

    Based on different UARFCNs and same PSC in list of network scan result. Ignores invalid PSCs and bands

    • Constructor Summary

      Constructors 
      Constructor Description
      DetectorHspaDc()
    • 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

      • DetectorHspaDc

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