VehicleType
@objc(ZDVehicleType)
public enum VehicleType : Int32
Type of vehicle used in the drive recorded by the Zendrive SDK.
A default vehicle type can be set using DriverAttributes.setVehicleType(_:)
in DriverAttributes
.
The detected type is returned to the application in the AnalyzedDriveInfo.vehicleType
field of the ZendriveDelegate.processAnalysis(ofDrive:)
callback.
-
Indicates a car vehicle type.
Declaration
Swift
case car = 0
-
Indicates a motorcycle vehicle type.
Declaration
Swift
case motorcycle = 1
-
Indicates that the user was not driving.
Declaration
Swift
case unknown = -1