Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LocationManager.requestLocationUpdates add or update?

I am looking at LocationManager to get best location for periodical reporting location. I am curious about LocationManager.requestLocationUpdates method. What would it happen if I invoke this method several times with different minTime and minDistance without calling removeUpdates? Will it add new request or just update the existing one?
I am trying to test this, it is not bit easy at the moment. Your answer would be appreciated.

like image 674
sunghun Avatar asked Jun 05 '13 05:06

sunghun


1 Answers

It will update the existing request.

like image 63
Ridcully Avatar answered Oct 04 '22 14:10

Ridcully