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
Post a Comment