public class DirectionsStartSearchResponse extends Object
Encapsulates the results of a DirectionsStartSearch
.
Modifier and Type | Method and Description |
---|---|
static DirectionsStartSearchResponse |
fromJSONObject(JSONObject json,
String locationId)
Constructs a LocalSearchResponse from a json response.
|
List<DirectionsStartSearchResult> |
getResults()
Gets the search results.
|
public static DirectionsStartSearchResponse fromJSONObject(JSONObject json, String locationId) throws JSONException
Constructs a LocalSearchResponse from a json response.
JSONException
- if error occurs parsing JSONpublic List<DirectionsStartSearchResult> getResults()
Gets the search results.