public static enum ALProtoBuilder.ALPProtocolKey extends java.lang.Enum<ALProtoBuilder.ALPProtocolKey>
| Enum Constant and Description |
|---|
ANALOG_PIN_READ |
CHAR_PRESSED |
CUSTOM_EVENT |
CUSTOM_MESSAGE |
DIGITAL_PIN_READ |
NOTONE |
POWER_PIN_INTENSITY |
POWER_PIN_SWITCH |
READY |
RPLY |
START_LISTENING_ANALOG |
START_LISTENING_DIGITAL |
STOP_LISTENING_ANALOG |
STOP_LISTENING_DIGITAL |
TONE |
| Modifier and Type | Method and Description |
|---|---|
static org.ardulink.util.Optional<ALProtoBuilder.ALPProtocolKey> |
fromString(java.lang.String string) |
static ALProtoBuilder.ALPProtocolKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ALProtoBuilder.ALPProtocolKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ALProtoBuilder.ALPProtocolKey POWER_PIN_SWITCH
public static final ALProtoBuilder.ALPProtocolKey POWER_PIN_INTENSITY
public static final ALProtoBuilder.ALPProtocolKey DIGITAL_PIN_READ
public static final ALProtoBuilder.ALPProtocolKey ANALOG_PIN_READ
public static final ALProtoBuilder.ALPProtocolKey START_LISTENING_DIGITAL
public static final ALProtoBuilder.ALPProtocolKey START_LISTENING_ANALOG
public static final ALProtoBuilder.ALPProtocolKey STOP_LISTENING_DIGITAL
public static final ALProtoBuilder.ALPProtocolKey STOP_LISTENING_ANALOG
public static final ALProtoBuilder.ALPProtocolKey CHAR_PRESSED
public static final ALProtoBuilder.ALPProtocolKey TONE
public static final ALProtoBuilder.ALPProtocolKey NOTONE
public static final ALProtoBuilder.ALPProtocolKey CUSTOM_MESSAGE
public static final ALProtoBuilder.ALPProtocolKey RPLY
public static final ALProtoBuilder.ALPProtocolKey READY
public static final ALProtoBuilder.ALPProtocolKey CUSTOM_EVENT
public static ALProtoBuilder.ALPProtocolKey[] values()
for (ALProtoBuilder.ALPProtocolKey c : ALProtoBuilder.ALPProtocolKey.values()) System.out.println(c);
public static ALProtoBuilder.ALPProtocolKey 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 static org.ardulink.util.Optional<ALProtoBuilder.ALPProtocolKey> fromString(java.lang.String string)
Copyright © 2018. All rights reserved.