requestPoiDetails
abstract fun requestPoiDetails(options: PoiDetailsOptions, callback: PoiDetailsCallback): Cancellable
Content copied to clipboard
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 will be executed on the main thread.
abstract fun requestPoiDetails(options: PoiDetailsOptions): Result<PoiDetailsResponse, SearchError>
Content copied to clipboard
Synchronously, provides POI details by a given POI identifier.
Return
The Result containing a PoiDetailsResponse if the call succeeds, or a SearchError if it fails.
Parameters
options
The object containing the properties to fetch POI details.