is Location Acceptable
open fun isLocationAcceptable(@NonNull newLocation: Location, @Nullable oldLocation: Location): Boolean
Content copied to clipboard
Determines whether one Location is better than the given location For Android 12 determining if the new location is acceptable compared to the old one is unuseful when the permission is accepted only for approximation and the return will be true.
Return
boolean true if the new location is acceptable compared to the old one false otherwise
Parameters
new Location
The new Location that will be evaluated
old Location
Old given location