public enum DeviceEventType extends Enum<DeviceEventType>
| Enum Constant and Description |
|---|
CONNECTED
A new device has been connected.
|
REMOVED
A device has been removed.
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceEventType REMOVED
public static final DeviceEventType CONNECTED
public static DeviceEventType[] values()
for (DeviceEventType c : DeviceEventType.values()) System.out.println(c);
public static DeviceEventType 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 nullCopyright © 2022. All rights reserved.