public enum ZendriveDriveDetectionMode extends Enum<ZendriveDriveDetectionMode> implements ZendriveValueEnum
Enum Constant and Description |
---|
AUTO_OFF
Zendrive SDK will not automatically detect and track drives in background in
this mode once the SDK is setup.
|
AUTO_ON
Zendrive SDK will automatically detect and track drives in background in
this mode once the SDK is setup.
|
INSURANCE
In this mode drive detection is controlled by period APIs present in
ZendriveInsurance . |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveDriveDetectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveDriveDetectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveDriveDetectionMode AUTO_ON
public static final ZendriveDriveDetectionMode AUTO_OFF
public static final ZendriveDriveDetectionMode INSURANCE
ZendriveInsurance
. Only ZendriveInsurance
APIs should be used in this mode to control ZendriveSDK behavior.public static ZendriveDriveDetectionMode[] values()
for (ZendriveDriveDetectionMode c : ZendriveDriveDetectionMode.values()) System.out.println(c);
public static ZendriveDriveDetectionMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
ZendriveValueEnum
The value is consistent with the enum values returned by the iOS SDK.
getValue
in interface ZendriveValueEnum