public enum GpioEdgeDetection extends Enum<GpioEdgeDetection>
| Enum Constant and Description |
|---|
FALLING
The line is monitored only for falling signals.
|
RISING
The line is monitored only for rising signals.
|
RISING_AND_FALLING
The line is monitored for both rising and falling signals.
|
| Modifier and Type | Method and Description |
|---|---|
static GpioEdgeDetection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GpioEdgeDetection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GpioEdgeDetection RISING
public static final GpioEdgeDetection FALLING
public static final GpioEdgeDetection RISING_AND_FALLING
public static GpioEdgeDetection[] values()
for (GpioEdgeDetection c : GpioEdgeDetection.values()) System.out.println(c);
public static GpioEdgeDetection 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