Enumerations

The following enumerations are available globally.

  • 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.
    See more

    Declaration

    Objective-C

    enum ZendriveOperationMode {}
  • Dictates the functioning of Zendrive’s drive detection.

    See more

    Declaration

    Objective-C

    enum ZendriveDriveDetectionMode {}
  • Specifies the accident detection mode of the Zendrive SDK. The application should be running in ZendriveOperationModeDriverAnalytics ZendriveOperationMode for accident detection to work reliably.

    Warning

    This is deprecated and has no affect on ZendriveSDK functionality.
    See more

    Declaration

    Objective-C

    enum ZendriveAccidentDetectionMode {}
  • 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 more

    Declaration

    Objective-C

    enum ZendriveServiceLevel {}
  • ZendriveError

    Discussion: Error returned as code to NSError from Zendrive public APIs in case of failures.

    See more

    Declaration

    Objective-C

    enum ZendriveError {}
  • Zendrive follows the star rating system, under which five star defined as the best rating with one being the worst.

    See more

    Declaration

    Objective-C

    enum ZendriveStarRating {}
  • The value return from ZendriveTripWarning.warning. Enum representing warnings detected for the current drive.

    See more

    Declaration

    Objective-C

    enum ZendriveTripWarningType {}