geometryData
abstract fun geometryData(geometryDataOptions: GeometryDataOptions): Result<GeometryDataResponse, SearchError>
Content copied to clipboard
Performs a synchronous geometry data fetch using the provided GeometryDataOptions object. Delivers a Result containing a GeometryDataResponse, or a SearchError if the call fails.
Return
The Result containing a GeometryDataResponse if the call succeeds, or a SearchError if it fails.
Parameters
geometryDataOptions
The object containing the properties to fetch geometry data.
abstract fun geometryData(geometryDataOptions: GeometryDataOptions, geometryDataCallback: GeometryDataCallback): Cancellable
Content copied to clipboard
Performs an asynchronous fuel geometry data fetch using the provided GeometryDataOptions object. Returns the result using the provided GeometryDataCallback.
Return
A cancellable operation.
Parameters
geometryDataOptions
The object containing the properties to fetch dynamic data.
geometryDataCallback
The GeometryDataCallback invoked when the fetch operation has finished, either successfully or with an error. The callback will be executed on the main thread.