requestPoiCategories
open override fun requestPoiCategories(options: PoiCategoryOptions): Result<PoiCategoryResponse, SearchFailure>
Performs a synchronous poi categories request using the provided PoiCategoryOptions object and delivers the Result by the provided PoiCategoryResponse, or a SearchFailure if the action fails.
Return
The Result contains a PoiCategoryResponse if the call succeeds, or a SearchFailure if it fails.
Parameters
options
The object containing the data for the request.
open override fun requestPoiCategories(options: PoiCategoryOptions, callback: PoiCategoryCallback): Cancellable
Performs an asynchronous poi categories request using the provided PoiCategoryOptions object. Returns the result using the provided PoiCategoryCallback.
Parameters
options
The object which contains properties for the given request.
callback
The PoiCategoryCallback invoked when the request operation has finished, either successfully or with an error. The callback is executed on the main thread.