public interface PlacesGeoResourcesAsync
Modifier and Type | Method and Description |
---|---|
void |
getGeoDetails(String id)
Find out more details of a place that was returned from the
reverseGeoCode(twitter4j.GeoQuery) method. |
void |
getSimilarPlaces(GeoLocation location,
String name,
String containedWithin,
String streetAddress)
Locates places near the given coordinates which are similar in name.
|
void |
reverseGeoCode(GeoQuery query)
Search for places (cities and neighborhoods) that can be attached to a statuses/update.
|
void |
searchPlaces(GeoQuery query)
Search for places that can be attached to a statuses/update.
|
void getGeoDetails(String id)
reverseGeoCode(twitter4j.GeoQuery)
method.
id
- The ID of the location to query about.void getSimilarPlaces(GeoLocation location, String name, String containedWithin, String streetAddress)
location
- The latitude and longitude to search around.name
- The name a place is known as.containedWithin
- optional: the place_id which you would like to restrict the search results to. Setting this value means only places within the given place_id will be found.streetAddress
- optional: This parameter searches for places which have this given street address. There are other well-known, and application specific attributes available. Custom attributes are also permitted. Learn more about Place Attributes.void reverseGeoCode(GeoQuery query)
query
- search queryvoid searchPlaces(GeoQuery query)
query
- search queryCopyright © 2018. All rights reserved.