Package 

Interface ExternalScanSettingsExtension.Builder

    • Method Summary

      Modifier and Type Method Description
      abstract T setShouldCheckLocationServicesState(boolean shouldCheck) Set whether a check if Location Services are (any Location Provider is) turned on before scheduling a BLE scan start.
      • Methods inherited from class java.lang.Object

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

      • setShouldCheckLocationServicesState

         abstract T setShouldCheckLocationServicesState(boolean shouldCheck)

        Set whether a check if Location Services are (any Location Provider is) turned on before scheduling a BLE scan start.Some Android devices will not return any com.polidea.rxandroidble2.scan.ScanResult if Location Services aredisabled.

        Parameters:
        shouldCheck - true if Location Services should be checked before the scan