android - will setSmallestDisplacement override the (LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY) -


want use priority_balanced_power_accuracy, want smaller displacement.

when setpriority locationrequest.priority_balanced_power_accuracy, mean the displacement 100 meters (so no update received if moving inside 100 meter range)?

what if has setsmallestdisplacement(20); receive update if passes out 20 meters range?

locationrequest.setsmallestdisplacement(20);  //no location updates received if device not move or cross distance. default 0.0f. locationrequest.setpriority(locationrequest.priority_balanced_power_accuracy);  //block level accuracy considered 100 meter accuracy 


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -