public static interface Trip.InfoListener
Modifier and Type | Method and Description |
---|---|
void |
onError(Trip.RequestError error)
Callback if an Error occured with the request.
|
void |
onInfo(Trip trip,
java.util.List<RouteableInfo> info)
Callback with the information about the Trip
|
void onInfo(Trip trip, java.util.List<RouteableInfo> info)
trip
- The trip object Trip
.info
- The list of RouteableInfo
void onError(Trip.RequestError error)
error
- The error of the request call, see Trip.RequestError
.