public static class QueryAutocompleteRequest.Response extends java.lang.Object implements com.google.maps.internal.ApiResponse<AutocompletePrediction[]>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
errorMessage |
AutocompletePrediction[] |
predictions |
java.lang.String |
status |
Constructor and Description |
---|
Response() |
Modifier and Type | Method and Description |
---|---|
ApiException |
getError() |
AutocompletePrediction[] |
getResult() |
boolean |
successful() |
public java.lang.String status
public AutocompletePrediction[] predictions
public java.lang.String errorMessage
public boolean successful()
successful
in interface com.google.maps.internal.ApiResponse<AutocompletePrediction[]>
public AutocompletePrediction[] getResult()
getResult
in interface com.google.maps.internal.ApiResponse<AutocompletePrediction[]>
public ApiException getError()
getError
in interface com.google.maps.internal.ApiResponse<AutocompletePrediction[]>