public enum UnlockKeyStatus extends java.lang.Enum<UnlockKeyStatus>
| Enum Constant and Description |
|---|
UNLOCK_KEY_STATUS_EXTRACTED
Cradle unlock key extracted.
|
UNLOCK_KEY_STATUS_INSERTED
Cradle unlock key inserted.
|
UNLOCK_KEY_STATUS_NOT_SUPPORTED
Cradle unlock key not supported.
|
UNLOCK_KEY_STATUS_UNKNOWN
Unknown Cradle unlock key status.
|
| Modifier and Type | Method and Description |
|---|---|
static UnlockKeyStatus |
fromInt(int n)
Retrieves the corresponding UnlockKeyStatus value, from a valid integer.
|
int |
toInt()
Converts the UnlockKeyStatus enum to its integer representing value.
|
java.lang.String |
toString() |
static UnlockKeyStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnlockKeyStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnlockKeyStatus UNLOCK_KEY_STATUS_UNKNOWN
public static final UnlockKeyStatus UNLOCK_KEY_STATUS_EXTRACTED
public static final UnlockKeyStatus UNLOCK_KEY_STATUS_INSERTED
public static final UnlockKeyStatus UNLOCK_KEY_STATUS_NOT_SUPPORTED
public static UnlockKeyStatus[] values()
for (UnlockKeyStatus c : UnlockKeyStatus.values()) System.out.println(c);
public static UnlockKeyStatus 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 UnlockKeyStatus fromInt(int n)
n - intpublic java.lang.String toString()
toString in class java.lang.Enum<UnlockKeyStatus>