public interface GeoMethods
Modifier and Type | Method and Description |
---|---|
Place |
getGeoDetails(java.lang.String id)
Find out more details of a place that was returned from the
GeoMethodsAsync.reverseGeoCode(twitter4j.GeoQuery) method. |
ResponseList<Place> |
getNearbyPlaces(GeoQuery query)
Deprecated.
|
ResponseList<Place> |
reverseGeoCode(GeoQuery query)
Search for places (cities and neighborhoods) that can be attached to a statuses/update.
|
ResponseList<Place> getNearbyPlaces(GeoQuery query) throws TwitterException
query
- search queryTwitterException
- when Twitter service or network is unavailableResponseList<Place> reverseGeoCode(GeoQuery query) throws TwitterException
query
- search queryTwitterException
- when Twitter service or network is unavailablePlace getGeoDetails(java.lang.String id) throws TwitterException
GeoMethodsAsync.reverseGeoCode(twitter4j.GeoQuery)
method.
id
- The ID of the location to query about.TwitterException
- when Twitter service or network is unavailable