|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RoutingListener
The interface RoutingListener provides a method for callback functions. When a RoutingComponent receives an asynchronous call for a route, it expects a RouteListener to call back. After the route is calculated, it calls the onRouteCalculated method to inform the callback component.
Method Summary | |
---|---|
void |
onError(int code)
This method is called if an error occured while calculating the route. |
void |
onRouteCalculated(RoutePoint[] points)
Delivers a route to the Listener. |
Method Detail |
---|
void onRouteCalculated(RoutePoint[] points)
points
- RoutePoint[] with turning pointsvoid onError(int code)
code
- a constant value from RoutingComponent indicating the type of
error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |