Class Info |
|---|
public class QueryAutocompleteResponse Represents an autocomplete response object. |
Qualifier and Type |
Method Name and Description |
|---|---|
Site[] |
getSites() Obtains the autocomplete result. |
| Obtains the predicted search keywords. |
|
void |
Sets the autocomplete result. |
void |
setPredictions(AutoCompletePrediction[] predictions) Sets the predicted search keywords. |
Method |
|---|
public Site[] getSites() Obtains the autocomplete result. |
Returns
Type |
Description |
|---|---|
Site[] |
Autocomplete result. |
Method |
|---|
public AutoCompletePrediction[] getPredictions() Obtains the predicted search keywords. |
Returns
Type |
Description |
|---|---|
Predicted search keywords. |
Method |
|---|
public void setSites(Site[] sites) Sets the autocomplete result. |
Parameters
Name |
Description |
|---|---|
sites |
Autocomplete result. |
Method |
|---|
public void setPredictions(AutoCompletePrediction[] predictions) Sets the predicted search keywords. |
Parameters
Name |
Description |
|---|---|
predictions |
Predicted search keywords. |