search

abstract fun search(query: String, options: OfflineSearchOptions, executor: Executor, callback: SearchSuggestionsCallback): SearchRequestTask

The first step of the offline forward geocoding. Returns a list of SearchSuggestion without coordinates.

Return

SearchRequestTask object which allows to cancel the request.

See also

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 handle search result.

open fun search(query: String, options: OfflineSearchOptions, callback: SearchSuggestionsCallback): SearchRequestTask

The first step of the offline forward geocoding. Returns a list of SearchSuggestion without coordinates.

Return

SearchRequestTask object which allows to cancel the request.

See also

Parameters

query

Search query.

options

Search options.

callback

The callback to handle search result on the main thread.