isBetterLocation

open fun isBetterLocation(newLocation: Location, currentBestLocation: Location): Boolean

是否更好的位置

Return

{@code true}: 是{@code false}: 否

Parameters

newLocation

The new Location that you want to evaluate

currentBestLocation

The current Location fix, to which you want to compare the new one