ParkingDetailProvider
public protocol ParkingDetailProvider
Defines Parking Detail APIs that complement basic search.
-
The Parking Availability endpoint provides information about the current availability status of parking sites.
Declaration
Swift
func requestParkingAvailability( options: ParkingAvailabilityOptions, completion: @escaping (Result<ParkingAvailabilityResponse, Error>) -> () )Parameters
optionsInformation related to parking availability.
completionThe completion closure is called after the response to the request has been processed. If no errors occurred,
ParkingAvailabilityResponsecontains an array parking availability statuses. -
The Parking Price endpoint returns information about pricing of a parking site.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
func requestParkingPrice( options: ParkingPriceOptions, completion: @escaping (Result<ParkingPriceResponse, Error>) -> () )Parameters
optionsInformation related to parking sites and pricing.
completionThe completion closure is called after the response to the request has been processed. If no errors occurred,
ParkingPriceResponsecontains a detailed pricing scheme and calculated price.
TomTom SDK for iOS (0.53.1)
ParkingDetailProvider