requestParkingAvailability

Synchronously, requests the availability of parking based on the provided ParkingAvailabilityOptions object and delivers the ParkingAvailabilityResponse, or a SearchError if the request fails.

Return

The Result contains a ParkingAvailabilityResponse if the call succeeds or a SearchError if it fails.

Parameters

options

The object which contains the data necessary to request parking availability.


Asynchronously, requests the availability of parking based on the provided ParkingAvailabilityOptions object and returns the result by the provided ParkingAvailabilityCallback.

Return

Cancellable parking availability request operation.

Parameters

options

The object which contains the data necessary to request parking availability.

callback

The ParkingAvailabilityCallback invoked when the parking availability request operation has been finished either successfully or with an error. The callback will be executed in the main thread.