requestPoiDetails

open override fun requestPoiDetails(options: PoiDetailsOptions, callback: PoiDetailsCallback): Cancellable

Performs an asynchronous request to obtain the POI details described by the PoiDetailsOptions object. Returns the result using the provided PoiDetailsCallback.

Return

Cancellable search operation.

Parameters

options

The object containing the request properties for the POI details request.

callback

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


Performs a synchronous request to obtain the POI details described by the PoiDetailsOptions object. Delivers a Result containing a PoiDetailsResponse, or a SearchFailure if the action fails.

Return

The Result containing a PoiDetailsResponse if the call succeeds, or a SearchFailure if it fails.

Parameters

options

The object containing the request properties for the POI details request.