Enumerations
The following enumerations are available globally.
-
Confidence measure of the detected accident.
See moreDeclaration
Objective-C
enum ZendriveAccidentConfidence : int {}
-
Severity of the detected accident.
See moreDeclaration
Objective-C
enum ZendriveCollisionSeverity : int {}
-
Direction of Impact of the detected accident.
See moreDeclaration
Objective-C
enum ZendriveDirectionOfImpact : int {}
-
Dictates the functioning of Zendrive’s drive detection.
See moreDeclaration
Objective-C
enum ZendriveDriveDetectionMode : int {}
-
Dictates the region where user’s data will reside.
See moreDeclaration
Objective-C
enum ZendriveRegion : int {}
-
Status of the debug upload request. As received in the delegate.
See moreDeclaration
Objective-C
enum ZendriveDebugUploadStatus : int {}
-
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 : int {}
-
The internal drive type of the drive recorded by the Zendrive SDK.
See moreDeclaration
Objective-C
enum ZendriveInternalDriveTypePreview : int {}
-
The value return from
See moreZendriveDriveInfo.userMode
. Indicates whether user was a driver or passenger.Declaration
Objective-C
enum ZendriveUserMode : int {}
-
The types of phone positions during a trip.
See moreDeclaration
Objective-C
enum ZendrivePhonePosition : int {}
-
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 : int {}
-
Type of vehicle used in the drive recorded by the Zendrive SDK. A default vehicle type can be set using
See more-[ZendriveDriverAttributes setVehicleType:]
. The detected type is returned to the application in theZendriveAnalyzedDriveInfo.vehicleType
field of the-[ZendriveDelegateProtocol processAnalysisOfDrive:]
callback.Declaration
Objective-C
enum ZendriveVehicleType : int {}
-
This is returned in
See moreZendriveEvent.eventSeverity
, it represents the severity of event if application for that event type.Declaration
Objective-C
enum ZendriveEventSeverity : NSInteger {}
-
This is returned in
See moreZendriveEvent.turnDirection
, it represents the turn direction forZendriveEventHardTurn
Declaration
Objective-C
enum ZendriveTurnDirection : NSInteger {}
-
The event type as specified in
See moreZendriveEvent.eventType
Declaration
Objective-C
enum ZendriveEventType : NSInteger {}
-
The category that best indicates the type of trip
See moreDeclaration
Objective-C
enum ZendriveDriveCategory : NSUInteger {}
-
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(int, ZendrivePausedReasonEnum) { ZendrivePausedReasonUser, ZendrivePausedReasonBusinessHours, ZendrivePausedReasonNotPaused }
-
Dictates the reason for is logging SDK Health The SDK health will be recorded when there is any update in permission from last recorded SDK health.
See moreDeclaration
Objective-C
enum ZendriveSDKHealthReason : int {}
-
Error type for ZendriveSettingError
See moreDeclaration
Objective-C
enum ZendriveSettingsErrorType : int {}
-
Enum to represent a day of the week.
See moreDeclaration
Objective-C
enum ZendriveDayOfWeek : int {}
-
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 : int {}
-
The value return from
See moreZendriveTripWarning.tripWarningType
. Enum representing warnings detected for the current drive.Declaration
Objective-C
enum ZendriveTripWarningType : int {}
-
ZendriveVehicleTaggingError
See moreDeclaration
Objective-C
enum ZendriveVehicleTaggingError : int {}