public enum ZendriveBusinessHoursOperationResult extends Enum<ZendriveBusinessHoursOperationResult>
Enum Constant and Description |
---|
BUSINESS_HOURS_NOT_ENABLED
The business hours feature is currently not enabled.
|
NO_NETWORK
Network connectivity is unavailable or is flaky.
|
REQUEST_TIMEOUT
The refresh business hours request is timed out.
|
SDK_NOT_SETUP
The
Zendrive.refreshBusinessHours(android.content.Context, com.zendrive.sdk.ZendriveRefreshBusinessHoursCallback) operation failed because the SDK is not setup. |
SUCCESS
The latest business hours have been successfully fetched.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Get the message for the business hours operation result.
|
static ZendriveBusinessHoursOperationResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveBusinessHoursOperationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveBusinessHoursOperationResult SUCCESS
public static final ZendriveBusinessHoursOperationResult SDK_NOT_SETUP
Zendrive.refreshBusinessHours(android.content.Context, com.zendrive.sdk.ZendriveRefreshBusinessHoursCallback)
operation failed because the SDK is not setup.public static final ZendriveBusinessHoursOperationResult BUSINESS_HOURS_NOT_ENABLED
public static final ZendriveBusinessHoursOperationResult NO_NETWORK
public static final ZendriveBusinessHoursOperationResult REQUEST_TIMEOUT
public static ZendriveBusinessHoursOperationResult[] values()
for (ZendriveBusinessHoursOperationResult c : ZendriveBusinessHoursOperationResult.values()) System.out.println(c);
public static ZendriveBusinessHoursOperationResult 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 String getMessage()