public enum USBDeviceFilterAction extends java.lang.Enum<USBDeviceFilterAction>
Enum Constant and Description |
---|
Hold
Hold the matched USB device.
|
Ignore
Ignore the matched USB device.
|
Null
Null value (never used by the API).
|
Modifier and Type | Method and Description |
---|---|
static USBDeviceFilterAction |
fromValue(long v) |
static USBDeviceFilterAction |
fromValue(java.lang.String v) |
int |
value() |
static USBDeviceFilterAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static USBDeviceFilterAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final USBDeviceFilterAction Null
public static final USBDeviceFilterAction Ignore
public static final USBDeviceFilterAction Hold
public static USBDeviceFilterAction[] values()
for (USBDeviceFilterAction c : USBDeviceFilterAction.values()) System.out.println(c);
public static USBDeviceFilterAction 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 value()
public static USBDeviceFilterAction fromValue(long v)
public static USBDeviceFilterAction fromValue(java.lang.String v)