Builder for an AutocompleteFilter.
After setting the optional parameters, call
build() and pass the result to
getAutocompletePredictions(GoogleApiClient, String, LatLngBounds,
AutocompleteFilter).
|
AutocompleteFilter.Builder()
Creates a new builder for an
AutocompleteFilter.
|
| AutocompleteFilter |
build()
Returns an
AutocompleteFilter that can be passed to
getAutocompletePredictions(GoogleApiClient, String, LatLngBounds,
AutocompleteFilter).
|
| AutocompleteFilter.Builder | |
| AutocompleteFilter.Builder |
setTypeFilter(int typeFilter)
Allows you to restrict the result set of a Place Autocomplete request.
|
Creates a new builder for an AutocompleteFilter.
Returns an AutocompleteFilter
that can be passed to
getAutocompletePredictions(GoogleApiClient, String, LatLngBounds,
AutocompleteFilter).
The country to restrict results to. This should be a ISO 3166-1 Alpha-2 country code (case insensitive). If this is not set, no country filtering will take place.
Allows you to restrict the result set of a Place Autocomplete request.
Valid values are: