public static enum ZendriveDriverAttributes.ServiceLevel extends Enum<ZendriveDriverAttributes.ServiceLevel>
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 LEVEL_DEFAULT irrespective of the service level specified.
Enum Constant and Description |
---|
LEVEL_1
Special service level 1 that is enabled for a particular application.
|
LEVEL_DEFAULT
Default service level.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ZendriveDriverAttributes.ServiceLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveDriverAttributes.ServiceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveDriverAttributes.ServiceLevel LEVEL_DEFAULT
public static final ZendriveDriverAttributes.ServiceLevel LEVEL_1
public static ZendriveDriverAttributes.ServiceLevel[] values()
for (ZendriveDriverAttributes.ServiceLevel c : ZendriveDriverAttributes.ServiceLevel.values()) System.out.println(c);
public static ZendriveDriverAttributes.ServiceLevel 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 toString()
toString
in class Enum<ZendriveDriverAttributes.ServiceLevel>