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