parkingDynamicData

abstract fun parkingDynamicData(parkingDynamicDataOptions: ParkingDynamicDataOptions): Result<ParkingDynamicDataResponse, SearchError>

Performs a synchronous parking dynamic data fetch using the provided ParkingDynamicDataOptions object. Delivers a Result containing a ParkingDynamicDataResponse, or a SearchError if the call fails.

Return

The Result containing a ParkingDynamicDataResponse if the call succeeds, or a SearchError if it fails.

Parameters

parkingDynamicDataOptions

The object containing the properties to fetch dynamic data.


abstract fun parkingDynamicData(parkingDynamicDataOptions: ParkingDynamicDataOptions, parkingDynamicDataCallback: ParkingDynamicDataCallback): Cancellable

Performs an asynchronous parking dynamic data fetch using the provided ParkingDynamicDataOptions object. Returns the result using the provided ParkingDynamicDataCallback.

Return

A cancellable operation.

Parameters

parkingDynamicDataOptions

The object containing the properties to fetch dynamic data.

parkingDynamicDataCallback

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