poiCategoriesSearch

abstract fun poiCategoriesSearch(poiCategoriesSearchOptions: PoiCategoriesSearchOptions): Result<PoiCategoriesSearchResponse, PoiCategoriesSearchError>

Performs a synchronous POI categories search using the provided PoiCategoriesSearchOptions object. Delivers a Result containing a PoiCategoriesSearchResponse, or a PoiCategoriesSearchError if the call fails.

Return

The Result containing a PoiCategoriesSearchResponse if the call succeeds, or a PoiCategoriesSearchError if it fails.

Parameters

poiCategoriesSearchOptions

The object containing the properties to use in the search request.


abstract fun poiCategoriesSearch(poiCategoriesSearchOptions: PoiCategoriesSearchOptions, poiCategoriesSearchCallback: PoiCategoriesSearchCallback): Cancellable

Performs an asynchronous POI categories search using the provided PoiCategoriesSearchOptions object. Returns the result using the provided PoiCategoriesSearchCallback.

Parameters

poiCategoriesSearchOptions

The object containing the properties to use in the search request.

poiCategoriesSearchCallback

The PoiCategoriesSearchCallback invoked when the search operation has finished, either successfully or with an error. The callback will be executed on the main thread.