public class DirectionsResponse extends Object
Encapsulates the result of a directions request.
Modifier and Type | Method and Description |
---|---|
static DirectionsResponse |
fromJSONObject(JSONObject json,
EditorKey appKey,
DirectionsSource.MapPoint originPoint,
DirectionsDestination.MapPoint destinationPoint) |
List<Route> |
getRoutes() |
public static DirectionsResponse fromJSONObject(JSONObject json, EditorKey appKey, DirectionsSource.MapPoint originPoint, DirectionsDestination.MapPoint destinationPoint) throws JSONException
JSONException