public static interface Directions.DirectionsRequestListener
A listener for receiving events from Directions
.
Modifier and Type | Method and Description |
---|---|
void |
onDirectionsRequestCanceled()
Called when the directions request is canceled by the user.
|
void |
onDirectionsRequestComplete(DirectionsResponse response)
Called when the web request for directions is completed successfully.
|
void |
onDirectionsRequestError(java.lang.Throwable tr)
Called when the request for directions encounters an error.
|
void |
onDirectionsRequestStart()
Called when beginning to request directions.
|
void onDirectionsRequestStart()
Called when beginning to request directions.
void onDirectionsRequestComplete(DirectionsResponse response)
Called when the web request for directions is completed successfully.
void onDirectionsRequestError(java.lang.Throwable tr)
Called when the request for directions encounters an error.
void onDirectionsRequestCanceled()
Called when the directions request is canceled by the user.