public static enum KeyCodeHelper.KeyType extends java.lang.Enum<KeyCodeHelper.KeyType>
| Enum Constant and Description |
|---|
CONFIRM |
CONFIRM_ACTION_UP |
IGNORE |
UNKNOWN |
VOLUME_DOWN |
VOLUME_DOWN_ACTION_UP |
VOLUME_UP |
VOLUME_UP_ACTION_UP |
| Modifier and Type | Method and Description |
|---|---|
static KeyCodeHelper.KeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyCodeHelper.KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyCodeHelper.KeyType CONFIRM
public static final KeyCodeHelper.KeyType CONFIRM_ACTION_UP
public static final KeyCodeHelper.KeyType VOLUME_DOWN
public static final KeyCodeHelper.KeyType VOLUME_DOWN_ACTION_UP
public static final KeyCodeHelper.KeyType VOLUME_UP
public static final KeyCodeHelper.KeyType VOLUME_UP_ACTION_UP
public static final KeyCodeHelper.KeyType IGNORE
public static final KeyCodeHelper.KeyType UNKNOWN
public static KeyCodeHelper.KeyType[] values()
for (KeyCodeHelper.KeyType c : KeyCodeHelper.KeyType.values()) System.out.println(c);
public static KeyCodeHelper.KeyType 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 null