| Modifier and Type | Method and Description |
|---|---|
ParseGeoPoint |
ParseObject.getParseGeoPoint(String key)
Access a
ParseGeoPoint value. |
ParseGeoPoint |
ParseConfig.getParseGeoPoint(String key)
Access a ParseGeoPoint value.
|
ParseGeoPoint |
ParseConfig.getParseGeoPoint(String key,
ParseGeoPoint defaultValue)
Access a ParseGeoPoint value, returning a default value if it doesn't exist.
|
| Modifier and Type | Method and Description |
|---|---|
static Task<ParseGeoPoint> |
ParseGeoPoint.getCurrentLocationInBackground(long timeout)
Asynchronously fetches the current location of the device.
|
static Task<ParseGeoPoint> |
ParseGeoPoint.getCurrentLocationInBackground(long timeout,
Criteria criteria)
Asynchronously fetches the current location of the device.
|
| Modifier and Type | Method and Description |
|---|---|
double |
ParseGeoPoint.distanceInKilometersTo(ParseGeoPoint point)
Get distance between this point and another geopoint in kilometers.
|
double |
ParseGeoPoint.distanceInMilesTo(ParseGeoPoint point)
Get distance between this point and another geopoint in kilometers.
|
double |
ParseGeoPoint.distanceInRadiansTo(ParseGeoPoint point)
Get distance in radians between this point and another GeoPoint.
|
abstract void |
LocationCallback.done(ParseGeoPoint geoPoint,
ParseException e)
Override this function with the code you want to run after the location fetch is complete.
|
ParseGeoPoint |
ParseConfig.getParseGeoPoint(String key,
ParseGeoPoint defaultValue)
Access a ParseGeoPoint value, returning a default value if it doesn't exist.
|
ParseQuery<T> |
ParseQuery.whereNear(String key,
ParseGeoPoint point)
Add a proximity based constraint for finding objects with key point values near the point
given.
|
ParseQuery<T> |
ParseQuery.whereWithinGeoBox(String key,
ParseGeoPoint southwest,
ParseGeoPoint northeast)
Add a constraint to the query that requires a particular key's coordinates be contained within
a given rectangular geographic bounding box.
|
ParseQuery<T> |
ParseQuery.whereWithinKilometers(String key,
ParseGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
ParseQuery<T> |
ParseQuery.whereWithinMiles(String key,
ParseGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
ParseQuery<T> |
ParseQuery.whereWithinRadians(String key,
ParseGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|