| Package | Description |
|---|---|
| se.walkercrou.places |
| Modifier and Type | Method and Description |
|---|---|
protected Place |
Place.addAddressComponents(Collection<AddressComponent> c)
Adds a collection of address components to this place.
|
protected Place |
Place.addAltIds(Collection<AltId> altIds)
Adds a collection of
AltIds. |
protected Place |
Place.addPhotos(Collection<Photo> photos)
Adds a collection of photos to this place.
|
Place |
GooglePlacesInterface.addPlace(PlaceBuilder builder,
boolean returnPlace,
Param... extraParams)
Adds a new place to the Places API and gets the newly created place if returnPlace is set to true.
|
Place |
GooglePlaces.addPlace(PlaceBuilder builder,
boolean returnPlace,
Param... extraParams) |
protected Place |
Place.addReviews(Collection<Review> reviews)
Adds a collection of reviews to this place.
|
protected Place |
Place.addTypes(Collection<String> types)
Adds a collection of string "types".
|
Place |
Place.downloadIcon()
Downloads the icon to this place.
|
Place |
Place.getDetails(Param... params)
Returns an updated Place object with more details than the Place object returned in an initial query.
|
Place |
AltId.getPlace()
Returns the actual alternate place.
|
Place |
Prediction.getPlace(Param... extraParams)
Returns the place this prediction is suggesting.
|
Place |
GooglePlacesInterface.getPlaceById(String placeId,
Param... extraParams)
Returns the place specified by the 'placeid'.
|
Place |
GooglePlaces.getPlaceById(String placeId,
Param... extraParams) |
static Place |
Place.parseDetails(GooglePlaces client,
String rawJson)
Parses a detailed Place object.
|
protected Place |
Place.setAccuracy(int accuracy)
Sets the accuracy of the location, expressed in meters.
|
protected Place |
Place.setAddress(String addr)
Sets the address of this place.
|
protected Place |
Place.setClient(GooglePlaces client)
Sets the
GooglePlaces client associated with this Place object. |
protected Place |
Place.setGoogleUrl(String googleUrl)
Sets the Google Plus page for this place.
|
protected Place |
Place.setHours(Hours hours)
Sets the
Hours of this place. |
protected Place |
Place.setIconUrl(String iconUrl)
Sets the url of the icon to represent this place.
|
protected Place |
Place.setInternationalPhoneNumber(String internationalPhone)
Sets the phone number with an international country code.
|
protected Place |
Place.setJson(org.json.JSONObject json)
Sets the JSON representation of this Place.
|
protected Place |
Place.setLanguage(String lang)
Sets the language of the location.
|
protected Place |
Place.setLatitude(double lat)
Sets the latitude of the place.
|
protected Place |
Place.setLongitude(double lon)
Sets the longitude of this place.
|
protected Place |
Place.setName(String name)
Sets the name of this place.
|
protected Place |
Place.setPhoneNumber(String phone)
Sets this Place's phone number.
|
protected Place |
Place.setPlaceId(String placeId)
Sets the unique, stable, identifier for this place.
|
protected Place |
Place.setPrice(Price price)
Sets the
Price of this place. |
protected Place |
Place.setRating(double rating)
Sets the rating of this place.
|
protected Place |
Place.setScope(Scope scope)
Sets the scope of the location.
|
protected Place |
Place.setStatus(Status status)
Sets the
Status of this place. |
protected Place |
Place.setUtcOffset(int utcOffset)
Sets the amount of seconds this place is off from the UTC timezone.
|
protected Place |
Place.setVicinity(String vicinity)
Sets the "vicinity" the place is in.
|
protected Place |
Place.setWebsite(String website)
Sets the website url associated with this place.
|
| Modifier and Type | Method and Description |
|---|---|
List<Place> |
GooglePlacesInterface.getNearbyPlaces(double lat,
double lng,
double radius,
int limit,
Param... extraParams)
Returns the places at the specified latitude and longitude within the specified radius.
|
List<Place> |
GooglePlaces.getNearbyPlaces(double lat,
double lng,
double radius,
int limit,
Param... extraParams) |
List<Place> |
GooglePlacesInterface.getNearbyPlaces(double lat,
double lng,
double radius,
Param... extraParams)
Returns the places at the specified latitude and longitude within the specified radius.
|
List<Place> |
GooglePlaces.getNearbyPlaces(double lat,
double lng,
double radius,
Param... extraParams) |
List<Place> |
GooglePlacesInterface.getNearbyPlacesRankedByDistance(double lat,
double lng,
int limit,
Param... params)
Returns the places at the specified latitude and longitude in order of proximity to the specified location.
|
List<Place> |
GooglePlaces.getNearbyPlacesRankedByDistance(double lat,
double lng,
int limit,
Param... params) |
List<Place> |
GooglePlacesInterface.getNearbyPlacesRankedByDistance(double lat,
double lng,
Param... params)
Returns the places at the specified latitude and longitude in order of proximity to the specified location.
|
List<Place> |
GooglePlaces.getNearbyPlacesRankedByDistance(double lat,
double lng,
Param... params) |
List<Place> |
GooglePlacesInterface.getPlacesByQuery(String query,
int limit,
Param... extraParams)
Returns the places that match the specified search query.
|
List<Place> |
GooglePlaces.getPlacesByQuery(String query,
int limit,
Param... extraParams) |
List<Place> |
GooglePlacesInterface.getPlacesByQuery(String query,
Param... extraParams)
Returns the places that match the specified search query.
|
List<Place> |
GooglePlaces.getPlacesByQuery(String query,
Param... extraParams) |
List<Place> |
GooglePlacesInterface.getPlacesByRadar(double lat,
double lng,
double radius,
int limit,
Param... extraParams)
Returns the places at the specified latitude and longitude according to the "radar" method specified by Google
Places API.
|
List<Place> |
GooglePlaces.getPlacesByRadar(double lat,
double lng,
double radius,
int limit,
Param... extraParams) |
List<Place> |
GooglePlacesInterface.getPlacesByRadar(double lat,
double lng,
double radius,
Param... extraParams)
Returns the places at the specified latitude and longitude according to the "radar" method specified by Google
Places API.
|
List<Place> |
GooglePlaces.getPlacesByRadar(double lat,
double lng,
double radius,
Param... extraParams) |
| Modifier and Type | Method and Description |
|---|---|
void |
GooglePlacesInterface.deletePlace(Place place,
Param... extraParams)
Deletes the specified place.
|
void |
GooglePlaces.deletePlace(Place place,
Param... extraParams) |
| Modifier and Type | Method and Description |
|---|---|
static String |
GooglePlaces.parse(GooglePlaces client,
List<Place> places,
String str,
int limit)
Parses the specified raw json String into a list of places.
|
| Constructor and Description |
|---|
Photo(Place place,
String reference,
int width,
int height) |
Copyright © 2014–2015. All rights reserved.