Android APIs
public class

AutocompleteFilter

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.location.places.AutocompleteFilter

Class Overview

Filter for customizing the autocomplete predictions from the Geo Data API.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
static AutocompleteFilter create(Collection<Integer> placeTypes)
boolean equals(Object object)
Set<Integer> getPlaceTypes()
Returns the place types being requested.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public static AutocompleteFilter create (Collection<Integer> placeTypes)

Parameters
placeTypes The place types of predictions to be returned. Only places that have a type in this set will be returned. A null or empty set is the same as a set containing all possible place types. For a list of available place types, see the list of supported types.

public boolean equals (Object object)

public Set<Integer> getPlaceTypes ()

Returns the place types being requested. If the empty set is returned, it means all place types are being requested.

public int hashCode ()

public String toString ()