Class LastKnownLocationInfoManager

    • Constructor Detail

      • LastKnownLocationInfoManager

        public LastKnownLocationInfoManager​(android.content.Context context)
    • Method Detail

      • isBetterLocation

        protected boolean isBetterLocation​(android.location.Location location,
                                           android.location.Location currentBestLocation)
        Determine whether one Location reading is better than the current Location fix
        Parameters:
        location - The new Location that you want to evaluate
        currentBestLocation - The current Location fix, to which you want to compare the new one