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 (nonatomic, strong, nonnull) ZendriveLocationPoint *startLocation; -
Stop location of the event.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) ZendriveLocationPoint *stopLocation; -
Epoch timestamp of the start of the event.
Declaration
Objective-C
@property (nonatomic) long long startTime; -
Epoch timestamp of the end of the event;
Declaration
Objective-C
@property (nonatomic) long long endTime; -
The type of the event.
Declaration
Objective-C
@property (nonatomic) ZendriveEventType eventType; -
The severity of the event.
Declaration
Objective-C
@property (nonatomic) ZendriveEventSeverity eventSeverity; -
Denotes the turn direction of a hard turn whether a left or right turn.
Declaration
Objective-C
@property (nonatomic) ZendriveTurnDirection turnDirection; -
Additional data in the
eventTypeisZendriveEventOverSpeeding, will be nil otherwise.Declaration
Objective-C
@property (nonatomic, strong, nullable) ZendriveSpeedingData *speedingData;
ZendriveEvent Class Reference