public static enum DeviceEvent.Type extends Enum<DeviceEvent.Type>
Enum Constant and Description |
---|
DEVICE_ADDED
Event represents device addition.
|
DEVICE_AVAILABILITY_CHANGED
Event represents change in device availability.
|
DEVICE_REMOVED
Event represents device removal.
|
DEVICE_UPDATED
Event represents device update.
|
INTERFACE_ADDED
Event represents device interface/port added.
|
INTERFACE_REMOVED
Event represents device interface/port removed.
|
INTERFACE_STATE_CHANGED
Event represents change in device interface/port state.
|
Modifier and Type | Method and Description |
---|---|
static DeviceEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceEvent.Type DEVICE_ADDED
public static final DeviceEvent.Type DEVICE_REMOVED
public static final DeviceEvent.Type DEVICE_UPDATED
public static final DeviceEvent.Type DEVICE_AVAILABILITY_CHANGED
public static final DeviceEvent.Type INTERFACE_STATE_CHANGED
public static final DeviceEvent.Type INTERFACE_ADDED
public static final DeviceEvent.Type INTERFACE_REMOVED
public static DeviceEvent.Type[] values()
for (DeviceEvent.Type c : DeviceEvent.Type.values()) System.out.println(c);
public static DeviceEvent.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 nullCopyright © 2016. All Rights Reserved.