ZendriveEvent
@interface ZendriveEvent : NSObject
Represents a driving behavior event like phone use, aggressive acceleration etc.
It is part of ZendriveDriveInfo object of -[ZendriveDelegateProtocol processEndOfDrive:] callback.
-
Start location of the event.
Declaration
Objective-C
@property (readwrite, strong, nonatomic, nonnull) ZendriveLocationPoint *startLocation; -
Stop location of the event.
Declaration
Objective-C
@property (readwrite, strong, nonatomic, nonnull) ZendriveLocationPoint *stopLocation; -
Epoch timestamp of the start of the event.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) long long startTime; -
Epoch timestamp of the end of the event;
Declaration
Objective-C
@property (assign, readwrite, nonatomic) long long endTime; -
The type of the event.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) ZendriveEventType eventType; -
The severity of the event.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) ZendriveEventSeverity eventSeverity; -
Denotes the turn direction of a hard turn whether a left or right turn.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) ZendriveTurnDirection turnDirection; -
Additional data in the
eventTypeisZendriveEventOverSpeeding, will be nil otherwise.Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) ZendriveSpeedingData *speedingData;
ZendriveEvent Class Reference