public static interface Trip.WaypointsListListener
Modifier and Type | Method and Description |
---|---|
void |
onError(Trip.RequestError error)
Callback if an Error occured when requesting the list.
|
void |
onWaypointsResult(Trip trip,
java.util.List<Routeable> waypoints)
Callback with the result of getting the list of waypoints
|
void onWaypointsResult(Trip trip, java.util.List<Routeable> waypoints)
trip
- The trip object Trip
.waypoints
- The List of waypoints on the trip. If no waypoints are present, it is an empty list.void onError(Trip.RequestError error)
error
- The error of the request call, see Trip.RequestError
.