public enum ZendriveRegion extends Enum<ZendriveRegion> implements ZendriveValueEnum
Modifier and Type | Method and Description |
---|---|
static ZendriveRegion |
findByValue(int value) |
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveRegion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveRegion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveRegion US
public static final ZendriveRegion EU
public static ZendriveRegion[] values()
for (ZendriveRegion c : ZendriveRegion.values()) System.out.println(c);
public static ZendriveRegion 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
public static ZendriveRegion findByValue(int value)