-
public interface ExternalScanSettingsExtension.Builder<T extends ExternalScanSettingsExtension.Builder<T>>
-
-
Method Summary
Modifier and Type Method Description abstract TsetShouldCheckLocationServicesState(boolean shouldCheck)Set whether a check if Location Services are (any Location Provider is) turned on before scheduling a BLE scan start. -
-
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
-
-
-
-