ZendriveEventType
enum ZendriveEventType : NSInteger {}
The event type as specified in ZendriveEvent.eventType
-
This denotes the aggressive behavior of braking too hard.
Declaration
Objective-C
ZendriveEventHardBrake = 0
-
This denotes the aggressive behavior of accelerating too fast.
Declaration
Objective-C
ZendriveEventAggressiveAcceleration = 1
-
This denotes the distracting behavior of handling the phone while driving.
Declaration
Objective-C
ZendriveEventPhoneHandling = 2
-
This denotes the aggressive behavior of speeding more than allowed. You will also receive
ZendriveEvent.speedingData
in this case.Declaration
Objective-C
ZendriveEventOverSpeeding = 3
-
This denotes a collision as detected by ZendriveSDK. You will also receive
-[ZendriveDelegateProtocol processAccidentDetected:]
in realtime for this event.Declaration
Objective-C
ZendriveEventAccident = 4
-
This denotes a hard turn as detected by ZendriveSDK.
Declaration
Objective-C
ZendriveEventHardTurn = 5
-
This denotes the distracting behavior of interacting with the phone screen while driving.
Declaration
Objective-C
ZendriveEventPhoneScreenInteraction = 6
-
This denotes stop sign violations as detected by ZendriveSDK.
Declaration
Objective-C
ZendriveEventStopSignViolation = 7
-
This denotes the distracting behavior of being in a phone call, hands free.
Declaration
Objective-C
ZendriveEventHandsFreePhoneCall = 8
-
This denotes the phone screen is on but user is not actively interacting with the screen.
Declaration
Objective-C
ZendriveEventPassiveDistraction = 9