java.lang.Object | |
↳ | com.google.android.gms.location.places.PlaceFilter |
Criteria for filtering results from the Google Place Detection API.
A PlaceFilter allows you to restrict results to only those places that are of interest to them.
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a
PlaceFilter object without any constraints, i.e.
| |||||||||||
Construct a
PlaceFilter object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the PlaceIds being requested.
| |||||||||||
Return true if results are restricted to only places that are open now.
| |||||||||||
Verifies whether the given
Place matches all the restrictions defined by this filter.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||
![]() |
Construct a PlaceFilter
object without any constraints, i.e. all places will match
this filter.
Construct a PlaceFilter
object.
requireOpenNow | if true, return only places open now |
---|---|
restrictToPlaceIds | the specific PlaceIds to match |
Returns the PlaceIds being requested.
Return true if results are restricted to only places that are open now.
Verifies whether the given Place
matches all the restrictions defined by this filter.