Can we get location (Fused Location API) based on either time interval or displacement, whatever happens first ? Or only one condition can be applied at a time ?
Asked
Active
Viewed 31 times
0
-
based on time interval – Harin Kaklotar Mar 01 '19 at 13:07
-
Maybe it could work with a combination of [setMaxWaitTime()](https://developers.google.com/android/reference/com/google/android/gms/location/LocationRequest#setMaxWaitTime(long)) and [setSmallestDisplacement()](https://developers.google.com/android/reference/com/google/android/gms/location/LocationRequest#setSmallestDisplacement(float)), but I haven't tried. – Markus Kauppinen Mar 01 '19 at 13:20
-
No it just works either only for displacement or just for time intervals, not working for both – Deepak Rathi Mar 05 '19 at 17:20