Summary: Ctors | Methods | Inherited Methods | [Expand All]
public static final class

# AutocompleteFilter.Builder

extends Object

java.lang.Object
↳ | com.google.android.gms.location.places.AutocompleteFilter.Builder

## Class Overview

Builder for an `AutocompleteFilter`. After setting the optional parameters, call `build()` and pass the result to `getAutocompletePredictions(GoogleApiClient, String, LatLngBounds, AutocompleteFilter)`.

## Summary

Public Constructors
| AutocompleteFilter.Builder() Creates a new builder for an `AutocompleteFilter`.

Public Methods
AutocompleteFilter | build() Returns an `AutocompleteFilter` that can be passed to `getAutocompletePredictions(GoogleApiClient, String, LatLngBounds, AutocompleteFilter)`.
AutocompleteFilter.Builder | setTypeFilter(int typeFilter) Allows you to restrict the result set of a Place Autocomplete request.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Constructors

#### public AutocompleteFilter.Builder ()

Creates a new builder for an `AutocompleteFilter`.

## Public Methods

#### public AutocompleteFilter build ()

Returns an `AutocompleteFilter` that can be passed to `getAutocompletePredictions(GoogleApiClient, String, LatLngBounds, AutocompleteFilter)`.

#### public AutocompleteFilter.Builder setTypeFilter (int typeFilter)

Allows you to restrict the result set of a Place Autocomplete request.

Valid values are:

- `TYPE_FILTER_NONE`
- `TYPE_FILTER_GEOCODE`
- `TYPE_FILTER_ADDRESS`
- `TYPE_FILTER_ESTABLISHMENT`
- `TYPE_FILTER_REGIONS`
- `TYPE_FILTER_CITIES`