public abstract class
FindAutocompletePredictionsResponse
extends Object
implements Response
implements Response
Response for FindAutocompletePredictionsRequest
.
Public Constructor Summary
Public Method Summary
abstract List<AutocompletePrediction> |
getAutocompletePredictions()
Returns the
AutocompletePrediction list returned by the response. |
static FindAutocompletePredictionsResponse |
newInstance(List<AutocompletePrediction> autocompletePredictions)
Returns a
FindAutocompletePredictionsResponse . |
Inherited Method Summary
Public Constructors
public FindAutocompletePredictionsResponse ()
Public Methods
public abstract List<AutocompletePrediction> getAutocompletePredictions ()
Returns the AutocompletePrediction
list returned by the response.
This list should not be modified, and contains up to 5 predictions.
public static FindAutocompletePredictionsResponse newInstance (List<AutocompletePrediction> autocompletePredictions)
Returns a FindAutocompletePredictionsResponse
.
Mutable members (e.g List) will be converted to immutable versions.
Parameters
autocompletePredictions | the AutocompletePrediction list returned by the
response.
|
---|