Enumerations
The following enumerations are available globally.
-
Confidence measure of the detected accident.
See moreDeclaration
Objective-C
enum ZendriveAccidentConfidence {}
-
Specifies the operation category for
Zendrive
SDK. Each category varies in the type and frequency of data collected, accuracy of drive-related attributes and battery consumption.Warning
This is deprecated and has no affect on ZendriveSDK functionality.Declaration
Objective-C
enum ZendriveOperationMode {}
-
Dictates the functioning of Zendrive’s drive detection.
See moreDeclaration
Objective-C
enum ZendriveDriveDetectionMode {}
-
Specifies the accident detection mode of the
Zendrive
SDK. The application should be running inZendriveOperationModeDriverAnalytics
ZendriveOperationMode
for accident detection to work reliably.Warning
This is deprecated and has no affect on ZendriveSDK functionality.Declaration
Objective-C
enum ZendriveAccidentDetectionMode {}
-
Status of the debug upload request. As received in the delegate.
See moreDeclaration
Objective-C
enum ZendriveDebugUploadStatus {}
-
The type of the drive returned from
ZendriveDriveInfo.driveType
.This decides what other
See moreZendriveDriveInfo
parameters will be populated. A drive callback can be sent as a false alarm or when we detect that the user was not actually driving but moved using other means of transport.Declaration
Objective-C
enum ZendriveDriveType {}
-
The value return from
See moreZendriveDriveInfo.userMode
. Indicates whether user was a driver or passenger.Declaration
Objective-C
enum ZendriveUserMode {}
-
The types of phone positions during a trip.
See moreDeclaration
Objective-C
enum ZendrivePhonePosition {}
-
Enumeration for different service levels supported by
Zendrive
for a driver. By default, drivers will be assigned to the default service level - ZendriveServiceLevelDefault.This is useful for applications which need special modes in the Zendrive SDK for different drivers - e.g default mode for free users and a advanced mode for paid users.
By default, multiple service levels are not enabled for an application. To be able to use different modes for your application, you should contact support@zendrive.com with your requirements and get that enabled for your application. Otherwise, if this is not enabled for your application, all drivers get mapped to ZendriveServiceLevelDefault irrespective of the service level specified.
See moreDeclaration
Objective-C
enum ZendriveServiceLevel {}
-
This is returned in
See moreZendriveEvent.eventSeverity
, it represents the severity of event if application for that event type.Declaration
Objective-C
enum ZendriveEventSeverity {}
-
This is returned in
See moreZendriveEvent.turnDirection
, it represents the turn direction forZendriveEventHardTurn
Declaration
Objective-C
enum ZendriveTurnDirection {}
-
The event type as specified in
See moreZendriveEvent.eventType
Declaration
Objective-C
enum ZendriveEventType {}
-
The category that best indicates the type of trip
See moreDeclaration
Objective-C
enum ZendriveDriveCategory {}
-
Zendrive follows the star rating system, under which five star defined as the best rating with one being the worst.
See moreDeclaration
Objective-C
enum ZendriveStarRating {}
-
The value return from
See moreZendriveTripWarning.warning
. Enum representing warnings detected for the current drive.Declaration
Objective-C
enum ZendriveTripWarningType {}