Class CycledLeScanner

  • All Implemented Interfaces:
    com.pointrlabs.core.management.interfaces.Advertiser

    
    public abstract class CycledLeScanner
    extends PTRAdvertiserImpl<T>
                        

    Created by Dilara on 16.08.2017. Imported from AltBeacon http://altbeacon.org/

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static CycledLeScanner createScanner(Context context, long scanPeriod, long betweenScanPeriod, boolean backgroundFlag, BluetoothCrashResolver crashResolver, ConfigurationManager configurationManager)
      static Boolean hasBlePermission(Context context)
      void setLongScanForcingEnabled(boolean enabled) Enables the scanner to go to extra lengths to keep scans going for longer than would otherwise be allowed.
      void setScanPeriods(long scanPeriod, long betweenScanPeriod, boolean backgroundFlag) Tells the cycler the scan rate and whether it is in operating in background mode.
      void start()
      void stop()
      void destroy()
      void setScanFilters(List<ScanFilter> filters) Updates the current scan filters
      void restartScanning() Restart scanning if already started.
      • Methods inherited from class com.pointrlabs.core.util.PTRAdvertiserImpl

        addListener, advertise, getListeners, getLock, isListenersEmpty, removeAllListeners, removeListener, setListeners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait