EVChargingAvailabilityProvider
public protocol EVChargingAvailabilityProvider
Defines EV Charging Availability APIs that complement basic search.
Important
This is a Public Preview API. It may be changed or removed at any time.-
The EV Charging Availability endpoint provides information about the current availability of charging points, grouped by connector type and then power level. The response can be filtered by connector type and a range of charging powers, if provided (using optional request parameters).
Declaration
Swift
func requestEVChargingAvailability( options: EVChargingAvailabilityOptions, completion: @escaping (Result<EVChargingAvailabilityResponse, Error>) -> () )
Parameters
options
completion
The completion closure is called after the response to the request has been processed. If no errors occurred,
EVChargingAvailabilityResponse
contains an array of charging station availability.