问题
What is the scan interval that is currently being used by Android for the Nearby Notifications feature (app-less)?
On a parallel note, does the stability value for the beacon have anything to do with this interval? How/If is the Nearby Notification affected when the stability value is changed between stable, portable, mobile & roving?
回答1:
Nearby Notifications scanning is also the same as Nearby Messages background scanning. It does so at every screen on.
The stability of the beacon does not affect Nearby Notification.
回答2:
According to this Google I/O talk : https://www.youtube.com/watch?v=Acdu2ZdBaZE&list=PLOU2XLYxmsILe6_eGvDN3GyiodoV3qNSC&index=28
If Location History is enabled on the device, BLE scan will also be done in the background. Although I cannot find the exact interval in the documentation.
来源:https://stackoverflow.com/questions/39049874/android-ble-scan-interval-for-nearby-notifications