|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.lbs.maps.server.exchange.ServerExchange
net.rim.device.api.lbs.maps.server.exchange.TleServerExchange
net.rim.device.api.lbs.maps.server.exchange.ReverseGeocodeExchange
public final class ReverseGeocodeExchange
Handles the building and parsing of a reverse geocoding request.
When a request for reverse geocoding is made through the ReverseGeocoder,
the results are placed in an instance of this class.
| Field Summary | ||
|---|---|---|
static int |
ADDRESS
Use this constant to request the nearest address or nearest street to the specified latitude/longitude. |
|
static int |
CITY
Use this constant for reverse geocoding requests to return a value at the city level. |
|
static int |
COUNTRY
Use this constant for reverse geocoding requests to return a value at the country level. |
|
static int |
MCC
Use this to constant for reverse geocoding requests to return a value at the Mobile Country Code (MCC) level. |
|
static int |
POSTAL
Use this to constant for reverse geocoding requests to return a value at the postal/zip code level. |
|
static int |
PROVINCE_STATE
Use this constant for reverse geocoding requests to return a value at the province/state level. |
|
static int |
TIME_ZONE_ID
Use this to constant for reverse geocoding requests to return the time zone ID. |
|
| Method Summary | ||
|---|---|---|
int |
getAdminBoundary()
Retrieves the administrative level boundary that is used for this request. |
|
LatLonRectangle |
getBoundingBox()
Retrieves the bounding box that encompasses the result. |
|
MapPoint |
getOrigin()
Retrieves the location point coordinates for this reverse geocoding request. |
|
Vector |
getResults()
Retrieves the search results. |
|
| Methods inherited from class net.rim.device.api.lbs.maps.server.exchange.ServerExchange |
|---|
getExceptionList |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ADDRESS
If the nearest address cannot be found, the nearest administrative region will be returned. This could be a combination of city, state/province and/or country depending on whether the location is inside one of these boundaries.
public static final int COUNTRY
public static final int PROVINCE_STATE
public static final int CITY
public static final int POSTAL
public static final int MCC
public static final int TIME_ZONE_ID
| Method Detail |
|---|
public Vector getResults()
Vector of matched locations.public int getAdminBoundary()
public MapPoint getOrigin()
public LatLonRectangle getBoundingBox()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal