public static class Params.Builder
extends java.lang.Object
Params
object for provided values to the Params.Builder
.Modifier and Type | Method and Description |
---|---|
Params |
build()
Get an instance of
Params for values specified |
Params.Builder |
location(LngLat location)
Set your location (
LngLat ) to get nearer/precise search results,
in case of not passing location you will get search results against our default search algorithm. |
Params.Builder |
query(java.lang.String query)
Set query OR search text against which search results will be provided by the API
|
public Params.Builder query(java.lang.String query)
query
- public Params.Builder location(LngLat location)
LngLat
) to get nearer/precise search results,
in case of not passing location you will get search results against our default search algorithm.location
- [optional] location against which you want results first