public enum PinEventType extends Enum<PinEventType>
Enum Constant and Description |
---|
ANALOG_VALUE_CHANGE |
DIGITAL_STATE_CHANGE |
Modifier and Type | Method and Description |
---|---|
static PinEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PinEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PinEventType DIGITAL_STATE_CHANGE
public static final PinEventType ANALOG_VALUE_CHANGE
public static PinEventType[] values()
for (PinEventType c : PinEventType.values()) System.out.println(c);
public static PinEventType 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 © 2012–2021 Pi4J. All rights reserved.