requestPoiDetails

Synchronously, provides POI details by a given POI identifier.

Return

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

Parameters

options

The object containing the properties to fetch POI details.


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

Asynchronously, provides POI details by a given POI identifier.

Return

A cancellable operation.

Parameters

options

The object containing the properties to fetch POI details.

callback

The PoiDetailsCallback invoked when the fetch operation has finished, either successfully or with an error. The callback is executed on the main thread.