BeaconManager.setBackgroundScanPeriod has two parameters which are scanPeriodMillis, waitTimeMillis.
Default values: scanPeriod=5s, waitTime=25s Minimum values: scanPeriod=0.2s waitTime=0s
if I set 5s for scanPeriod and 0s for WaitTime will the app scan continuously without any waiting?
it seems that if you put the
waitTime value to 0, the scan will be always running.
Thank you Ximun,
However, I have noticed in real world tests beacons don’t get detected right away. Is that due to SDK and operating system optimisations?
It’s maybe a physical issue, like the walls, the human body…