public static class Params.Builder
extends java.lang.Object
Params
object for provided values to the Params.Builder
.Modifier and Type | Field and Description |
---|---|
int |
heading |
boolean |
reroute |
java.lang.String |
stops |
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 |
searchQuery(java.lang.String query)
Set query OR search text against which search results will be provided by the API
|
public java.lang.String stops
public boolean reroute
public int heading
public Params.Builder searchQuery(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