ZendriveActiveDriveInfo Class Reference
Inherits from | NSObject |
Declared in | ZendriveActiveDriveInfo.h |
Tasks
-
driveId
property -
startTimestamp
property -
currentSpeed
property -
distance
property -
trackingId
property -
sessionId
property
Properties
currentSpeed
The current speed of vehicle in metres/second.
@property (nonatomic, assign) double currentSpeed
Declared In
ZendriveActiveDriveInfo.h
distance
The distance covered so far in this trip in meters.
@property (nonatomic, assign) double distance
Declared In
ZendriveActiveDriveInfo.h
driveId
The unique Id for this drive
@property (nonatomic, readonly, nonnull) NSString *driveId
Declared In
ZendriveActiveDriveInfo.h
sessionId
Session id is specified by the enclosing application when it wants to record a session using [Zendrive startSession:]
@property (nonatomic, strong, nullable) NSString *sessionId
Discussion
sessionId will be nil if there is no session associated with that drive.
Declared In
ZendriveActiveDriveInfo.h
startTimestamp
The start timestamp of trip in milliseconds since epoch.
@property (nonatomic, assign) long long startTimestamp
Declared In
ZendriveActiveDriveInfo.h
trackingId
Tracking id is specified by the enclosing application when it wants to start a drive manually by calling [Zendrive startDrive:]
@property (nonatomic, strong, nullable) NSString *trackingId
Discussion
This may be the case for example in a taxi cab application that would know when to start a drive based on when a meter gets flagged. trackingId will be nil in case of auto detected drives.
Declared In
ZendriveActiveDriveInfo.h