search

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

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

Return

SearchRequestTask object representing pending completion of 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

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

Return

SearchRequestTask object representing pending completion of the request.

Parameters

query

Search query.

options

Search options.

callback

The callback to retrieve list of SearchSuggestion. Events are dispatched on the main thread.

abstract fun search(categoryName: String, options: CategorySearchOptions, executor: Executor, callback: SearchCallback): SearchRequestTask

Performs a search request for places based on a category.

Return

SearchRequestTask object representing pending completion of the request.

Parameters

categoryName

Name of category to search.

options

Category search options.

executor

Executor used for events dispatching. By default events are dispatched on the main thread.

callback

Search callback to retrieve results.

open fun search(categoryName: String, options: CategorySearchOptions, callback: SearchCallback): SearchRequestTask

Performs a search request for places based on a category.

Return

SearchRequestTask object representing pending completion of the request.

Parameters

categoryName

Name of category to search.

options

Category search options.

callback

Search callback to retrieve results. Events are dispatched on the main thread.

abstract fun search(options: ReverseGeoOptions, executor: Executor, callback: SearchCallback): SearchRequestTask

Performs reverse geocoding.

Return

SearchRequestTask object representing pending completion of the request.

Parameters

options

Reverse geocoding options.

executor

Executor used for events dispatching. By default events are dispatched on the main thread.

callback

Search result callback.

open fun search(options: ReverseGeoOptions, callback: SearchCallback): SearchRequestTask

Performs reverse geocoding.

Return

SearchRequestTask object representing pending completion of the request.

Parameters

options

Reverse geocoding options.

callback

Search result callback, delivers results on the main thread.