EventType
@objc(ZDEventType)
public enum EventType : Int
The event type as specified in Event.eventType
-
This denotes the aggressive behavior of braking too hard.
Declaration
Swift
case hardBrake -
This denotes the aggressive behavior of accelerating too fast.
Declaration
Swift
case aggressiveAcceleration -
This denotes the distracting behavior of handling the phone while driving.
Declaration
Swift
case phoneHandling -
This denotes the aggressive behavior of speeding more than allowed. You will also receive
Event.speedingDatain this case.Declaration
Swift
case overSpeeding -
This denotes a collision as detected by Zendrive SDK. You will also receive
ZendriveDelegate.processAccidentDetected(_:)in realtime for this event.Declaration
Swift
case accident -
This denotes a hard turn as detected by Zendrive SDK.
Declaration
Swift
case hardTurn -
This denotes the distracting behavior of interacting with the phone screen while driving.
Declaration
Swift
case phoneScreenInteraction -
This denotes stop sign violations as detected by Zendrive SDK.
Declaration
Swift
case stopSignViolation
EventType Enumeration Reference