search
abstract fun search(query: String, options: SearchOptions, executor: Executor, callback: SearchSuggestionsCallback): SearchRequestTask
Content copied to clipboard
The first step of forward geocoding. Returns a list of SearchSuggestion without coordinates.
Return
SearchRequestTask object which allows to cancel the request.
Parameters
query
Search query.
options
Search options.
executor
Executor used for events dispatching. By default events are dispatched on the main thread.
callback
The callback to retrieve list of SearchSuggestion.
open fun search(query: String, options: SearchOptions, callback: SearchSuggestionsCallback): SearchRequestTask
Content copied to clipboard
The first step of forward geocoding. Returns a list of SearchSuggestion without coordinates.
Return
SearchRequestTask object which allows to cancel the request.
Parameters
query
Search query.
options
Search options.
callback
The callback to retrieve list of SearchSuggestion. Events are dispatched on the main thread.