public static class DirectionsStartSearch.Builder
extends java.lang.Object
A factory class for creating search requests.
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DirectionsStartSearch |
build()
Build the search request.
|
DirectionsStartSearch.Builder |
setApp(EditorKey appKey)
Set the EditorKey for the app to search in.
|
DirectionsStartSearch.Builder |
setLimit(int limit)
Set the limit number of results
|
DirectionsStartSearch.Builder |
setListener(DirectionsStartSearch.DirectionsStartSearchListener listener)
Set a listener to receive events for this search request.
|
DirectionsStartSearch.Builder |
setQuery(java.lang.String query)
Set the query string for this request.
|
public DirectionsStartSearch.Builder setQuery(java.lang.String query)
Set the query string for this request.
public DirectionsStartSearch.Builder setLimit(int limit)
Set the limit number of results
public DirectionsStartSearch.Builder setApp(EditorKey appKey)
Set the EditorKey for the app to search in.
public DirectionsStartSearch.Builder setListener(DirectionsStartSearch.DirectionsStartSearchListener listener)
Set a listener to receive events for this search request.
public DirectionsStartSearch build()
Build the search request.