public static enum DeviceKeyEvent.Type extends Enum<DeviceKeyEvent.Type>
Enum Constant and Description |
---|
DEVICE_KEY_ADDED
Signals that a new device key has been added.
|
DEVICE_KEY_REMOVED
Signals that a device key has been removed.
|
DEVICE_KEY_UPDATED
Signals that a device key has been updated or changed state.
|
Modifier and Type | Method and Description |
---|---|
static DeviceKeyEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceKeyEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceKeyEvent.Type DEVICE_KEY_ADDED
public static final DeviceKeyEvent.Type DEVICE_KEY_UPDATED
public static final DeviceKeyEvent.Type DEVICE_KEY_REMOVED
public static DeviceKeyEvent.Type[] values()
for (DeviceKeyEvent.Type c : DeviceKeyEvent.Type.values()) System.out.println(c);
public static DeviceKeyEvent.Type 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 null