public enum ZendrivePauseAutoTrackingReason extends Enum<ZendrivePauseAutoTrackingReason> implements ZendriveValueEnum
| Enum Constant and Description |
|---|
BUSINESS_HOURS
Indicates that the auto trip tracking is paused outside business hours.
|
SDK_NOT_PAUSED
Indicates that the auto trip tracking is not paused.
|
USER
Indicates that the auto trip tracking is paused by the user via call to the
Zendrive.pauseAutoTracking(Context, Long) API. |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendrivePauseAutoTrackingReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendrivePauseAutoTrackingReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendrivePauseAutoTrackingReason SDK_NOT_PAUSED
public static final ZendrivePauseAutoTrackingReason USER
Zendrive.pauseAutoTracking(Context, Long) API.public static final ZendrivePauseAutoTrackingReason BUSINESS_HOURS
public static ZendrivePauseAutoTrackingReason[] values()
for (ZendrivePauseAutoTrackingReason c : ZendrivePauseAutoTrackingReason.values()) System.out.println(c);
public static ZendrivePauseAutoTrackingReason 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()
ZendriveValueEnumThe value is consistent with the enum values returned by the iOS SDK.
getValue in interface ZendriveValueEnum