public static enum DeviceDetails.Push.State extends java.lang.Enum<DeviceDetails.Push.State>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
code |
| Modifier and Type | Method and Description |
|---|---|
static DeviceDetails.Push.State |
fromCode(java.lang.String code) |
static DeviceDetails.Push.State |
fromInt(int i) |
int |
toInt() |
static DeviceDetails.Push.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceDetails.Push.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceDetails.Push.State ACTIVE
public static final DeviceDetails.Push.State FAILING
public static final DeviceDetails.Push.State FAILED
public static DeviceDetails.Push.State[] values()
for (DeviceDetails.Push.State c : DeviceDetails.Push.State.values()) System.out.println(c);
public static DeviceDetails.Push.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int toInt()
public static DeviceDetails.Push.State fromInt(int i)
public static DeviceDetails.Push.State fromCode(java.lang.String code)