Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ANDROID: how does addProximityAlert() work exactly?

I'm looking for information about how "addProximityAlert()" exactly works

At what intervals does it check? What happens if we use more than one addProximmityAlert(, do they work independently(do they check individually)?

like image 620
Paramvir Singh Avatar asked May 19 '26 08:05

Paramvir Singh


1 Answers

SDK documentation says only about interval when device is suspended (4 minutes) but does not about interval when device is awake so I suppose that it's "ok for most purposes".

Proximity alerts ar added to single HashMap (check this) so they are checked one by one for actual location.

like image 54
skyman Avatar answered May 21 '26 21:05

skyman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!