|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeoCodingListener
The interface GeoCodingListener provides a method for callback functions. When a GeoCodingComponent receives an asynchronous call for places, it expects a GeoCodingListener to call back. After the places are found, it calls the onPlacesFound method to inform the callback component.
Method Summary | |
---|---|
void |
onError(int code)
This method is called if an error occured while finding geocoded places. |
void |
onPlacesFound(java.lang.String search,
PointOfInterest... places)
Delivers an array of places which fit a certain criteria around a specified position. |
Method Detail |
---|
void onPlacesFound(java.lang.String search, PointOfInterest... places)
places
- array of possible matches for the searchsearch
- the search stringvoid onError(int code)
code
- a constant value from GeoCodingComponent indicating the type of
error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |