category Search
Performs category search request. Each new search request cancels the previous one if it is still in progress. In this case OfflineSearchCallback.onError will be called with com.mapbox.search.common.SearchCancellationException.
Return
AsyncOperationTask object which allows to cancel the request.
Parameters
List of categories to search.
Category search options.
Executor used for events dispatching. By default events are dispatched on the main thread.
The callback to handle search result on the main thread.
Performs category search request. Each new search request cancels the previous one if it is still in progress. In this case OfflineSearchCallback.onError will be called with com.mapbox.search.common.SearchCancellationException.
Return
AsyncOperationTask object which allows to cancel the request.
Parameters
List of categories to search.
Category search options.
The callback to handle search result. Events are dispatched on the main thread.
Performs category search request. Each new search request cancels the previous one if it is still in progress. In this case OfflineSearchCallback.onError will be called with com.mapbox.search.common.SearchCancellationException.
Return
AsyncOperationTask object which allows to cancel the request.
Parameters
Name of category to search.
Category search options.
Executor used for events dispatching. By default events are dispatched on the main thread.
The callback to handle search result on the main thread.
Performs category search request. Each new search request cancels the previous one if it is still in progress. In this case OfflineSearchCallback.onError will be called with com.mapbox.search.common.SearchCancellationException.
Return
AsyncOperationTask object which allows to cancel the request.
Parameters
Name of category to search.
Category search options.
The callback to handle search result. Events are dispatched on the main thread.