TomTomSDKVehicle
-
An observer that receives
TomTomSDKCommon/Vehicle
state updates.To start receiving vehicle state updates, become an observer using
TomTomSDKVehicle/VehicleProvider/addObserver(_:)
. To stop receiving vehicle state updates, remove the previously added observer usingTomTomSDKVehicle/VehicleProvider/removeObserver(_:)
.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol VehicleUpdateObserver : Observer
-
Combustion engine property attributes. Each
CombustionEngineProperty
represents one property of theTomTomSDKCommon/CombustionEngine
model, and shares itsPropertyID
.Used for updating vehicle’s combustion engine state via
See moreupdateVehicleProperties(_:)
.Declaration
Swift
public enum CombustionEngineProperty
-
Electric engine property attributes. Each
ElectricEngineProperty
represents one property of theTomTomSDKCommon/ElectricEngine
model, and shares itsPropertyID
.Used for updating vehicle’s electric engine state via
See moreupdateVehicleProperties(_:)
.Declaration
Swift
public enum ElectricEngineProperty
-
Unique identifier of each property supported
See moreTomTomSDKCommon/Vehicle
implementations.Declaration
Swift
public enum PropertyID : Equatable
-
Vehicle property attributes. Each
VehicleProperty
represents one property of theTomTomSDKCommon/Vehicle
model, and shares itsPropertyID
.Used for updating vehicle state via
See moreupdateVehicleProperties(_:)
.Declaration
Swift
public enum VehicleProperty
-
Responsible for control, access and notification of the vehicle state.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol VehicleProvider : AnyObject
-
Responsible for creating instances of
TomTomSDKVehicle/VehicleProvider
to control, access and notify of the vehicle state.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum VehicleProviderFactory