public static enum AdvancedKeyboard.PersistenceType extends java.lang.Enum<AdvancedKeyboard.PersistenceType>
| Enum Constant and Description |
|---|
ENTERPRISE_RESET_PERSISTENT
The keyboard configuration is persistent to enterprise reset.
|
FACTORY_RESET_PERSISTENT
The keyboard configuration is persistent to factory reset.
|
REBOOT_PERSISTENT
The keyboard configuration is persistent to device reboots.
|
| Modifier and Type | Method and Description |
|---|---|
static AdvancedKeyboard.PersistenceType |
fromInt(int value)
Retrieves the corresponding PersistenceType value from a valid integer.
|
int |
toInt()
Converts the PersistenceType to its integer corresponding value.
|
static AdvancedKeyboard.PersistenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdvancedKeyboard.PersistenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancedKeyboard.PersistenceType REBOOT_PERSISTENT
public static final AdvancedKeyboard.PersistenceType ENTERPRISE_RESET_PERSISTENT
public static final AdvancedKeyboard.PersistenceType FACTORY_RESET_PERSISTENT
public static AdvancedKeyboard.PersistenceType[] values()
for (AdvancedKeyboard.PersistenceType c : AdvancedKeyboard.PersistenceType.values()) System.out.println(c);
public static AdvancedKeyboard.PersistenceType 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 AdvancedKeyboard.PersistenceType fromInt(int value)
value - Integer to use as input in the conversion.