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