VehicleProviderFactory
public enum VehicleProviderFactory
Responsible for creating instances of TomTomSDKVehicle/VehicleProvider to control, access and notify of the vehicle state.
-
Creates an instance of
TomTomSDKVehicle/VehicleProvider.Declaration
Swift
public static func create( vehicle: any Vehicle = Car(combustionEngine: CombustionEngine()) ) -> VehicleProviderParameters
vehicleThe current vehicle to be provided. If not specified the default value is
TomTomSDKCommon/CarwithTomTomSDKCommon/CombustionEngine.Return Value
An instance of
TomTomSDKVehicle/VehicleProvider.
TomTom SDK for iOS (0.53.1)
VehicleProviderFactory