|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DirectionsCallback
An interface containing methods used to return results from a Directions query.
| Method Summary | |
|---|---|
void |
onFailure(int statusCode)
Called when a Directions load() method fails. |
void |
onSuccess(DirectionResults result)
Called when a Directions.load() query returns successfully. |
| Method Detail |
|---|
void onFailure(int statusCode)
statusCode - A numeric value from the StatusCodes class.void onSuccess(DirectionResults result)
result - represents the set of results from the last successfully
loaded query. These results are valid until the next
load() request is made on the associated Directions object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||