-
public class NetworkLocationIgnorerA class to check whether we want to use a location. If there are multiple location providers, i.e. network and GPS, then you want to ignore network locations shortly after a GPS location because you will get another GPS location soon.
-
-
Method Summary
Modifier and Type Method Description booleanshouldIgnore(String pProvider, long pTime)Whether we should ignore this location. -
-
Method Detail
-
shouldIgnore
boolean shouldIgnore(String pProvider, long pTime)
Whether we should ignore this location.
- Parameters:
pProvider- the provider that provided the locationpTime- the time of the location
-
-
-
-