ZendriveDriveDetectionMode Constants Reference
Declared in | ZendriveConfiguration.h |
ZendriveDriveDetectionMode
Dictates the functioning of Zendrive’s drive detection.
Definition
typedef NS_ENUM(int, ZendriveDriveDetectionMode ) {
ZendriveDriveDetectionModeAutoON = 0,
ZendriveDriveDetectionModeAutoOFF = 1,
ZendriveDriveDetectionModeInsurance = 2,
};
Constants
ZendriveDriveDetectionModeAutoON
-
Zendrive SDK will automatically track drives in background in this mode once the SDK is setup. At the same time, the application can invoke [Zendrive startDrive:] to explicitly start recording a drive. This is the Default mode.
Declared In
ZendriveConfiguration.h
. ZendriveDriveDetectionModeAutoOFF
-
In this mode auto drive-detection is disabled. All other APIs on Zendrive can be invoked independent of this mode. For recording trips in this mode, the application has to explicitly invoke the [Zendrive startDrive:] method.
Declared In
ZendriveConfiguration.h
. ZendriveDriveDetectionModeInsurance
-
In this mode drive detection is controlled by period APIs present in ZendriveInsurance class. Only ZendriveInsurance APIs should be used in this mode to control ZendriveSDK behavior.
Declared In
ZendriveConfiguration.h
.
Declared In
ZendriveConfiguration.h