requestGeometryData
open override fun requestGeometryData(options: GeometryDataOptions): Result<GeometryDataResponse, SearchFailure>
Performs a synchronous geometry data request described by the provided GeometryDataOptions object. Delivers the Result containing a GeometryDataResponse, or a SearchFailure if the action fails.
Return
The Result containing a GeometryDataResponse if the call succeeds, or a SearchFailure if it fails.
Parameters
options
The object which contains search properties for the given search request.
open override fun requestGeometryData(options: GeometryDataOptions, callback: GeometryDataCallback): Cancellable
Performs an asynchronous geometry data request described by the provided GeometryDataOptions object. Returns the result using the provided GeometryDataCallback.
Parameters
options
The object which contains properties for the given search request.
callback
The GeometryDataCallback invoked when the search operation has finished, either successfully or with an error. The callback is executed on the main thread.