I am writing my own background location updates for interval of every 5 minutes in android. I would like to know the difference between setInterval and setFastestInterval
When I setInterval to 5 mins and setFastestInterval to 2 mins. The location update is called every 2 mins.
I would like to know the difference. I couldn't understand what exactly is written in the developer page for this https://developer.android.com/reference/com/google/android/gms/location/LocationRequest.html
Also: Is there an inbuilt function to check the location updates only if the distances of the first update are more than 20meters with the second update?
Thanks!