com.google.maps.internal.ApiResponse<AutocompletePrediction[]>
public static class QueryAutocompleteRequest.Response extends java.lang.Object implements com.google.maps.internal.ApiResponse<AutocompletePrediction[]>
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
errorMessage |
|
AutocompletePrediction[] |
predictions |
|
java.lang.String |
status |
Constructor | Description |
---|---|
Response() |
Modifier and Type | Method | 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[]>