-
- All Implemented Interfaces:
public class FrequentLocations
A utility class to access information about the locations your user frequents.
It is possible for your user to have multiple
-
-
Field Summary
Fields Modifier and Type Field Description public final static FrequentLocations
INSTANCE
-
Method Summary
Modifier and Type Method Description final static Boolean
hasHomeOrWork(Context context)
Checks to see if Pilgrim has established the users home and work yet. final static List<FoursquareLocation>
getHomeLocations(Context context)
Get a list of the locations that Pilgrim considers to be your user's home. final static List<FoursquareLocation>
getWorkLocations(Context context)
Get a list of the locations that Pilgrim considers to be your user's work. -
-
Method Detail
-
hasHomeOrWork
final static Boolean hasHomeOrWork(Context context)
Checks to see if Pilgrim has established the users home and work yet.
-
getHomeLocations
final static List<FoursquareLocation> getHomeLocations(Context context)
Get a list of the locations that Pilgrim considers to be your user's home.
- Parameters:
context
- Any context
-
getWorkLocations
final static List<FoursquareLocation> getWorkLocations(Context context)
Get a list of the locations that Pilgrim considers to be your user's work.
- Parameters:
context
- Any context
-
-
-
-