OnlineDynamicDataProviderFactory
public enum OnlineDynamicDataProviderFactory
Factory for accessing the implementations for the Dynamic Data APIs.
-
Factory method for creating an instance of
FuelPriceProvider
.Declaration
Swift
public static func createFuelPriceProvider(apiKey: String) -> FuelPriceProvider
Parameters
apiKey
API key for requesting dynamic data.
-
Factory method for creating an instance of
EVChargingAvailabilityProvider
.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public static func createEVChargingAvailabilityProvider(apiKey: String) -> EVChargingAvailabilityProvider
Parameters
apiKey
API key for requesting dynamic data.
-
Factory method for creating an instance of
ParkingDetailProvider
.Declaration
Swift
public static func createParkingDetailProvider(apiKey: String) -> ParkingDetailProvider
Parameters
apiKey
API key for requesting dynamic data.