Class LocalSearch.Builder
java.lang.Object
com.arubanetworks.meridian.search.LocalSearch.Builder
- Enclosing class:
- LocalSearch
A factory class for creating search requests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the search request.Set the EditorKey for the app to search in.setLimit
(int limit) Limits the number of results.setListener
(LocalSearch.LocalSearchListener listener) Set a listener to receive events for this search request.setLocation
(MeridianLocation location) Set the location that this search request should center around.Set the query string for this request.setTransportType
(TransportType transportType) Set the type of transit that this search can traverse.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setQuery
Set the query string for this request. -
setLimit
Limits the number of results.Limit results to 20 or less for best performance.
-
setLocation
Set the location that this search request should center around. -
setTransportType
Set the type of transit that this search can traverse. -
setApp
Set the EditorKey for the app to search in. -
setListener
Set a listener to receive events for this search request. -
build
Build the search request.
-