public static enum CommandBlockWrapper.Direction extends java.lang.Enum<CommandBlockWrapper.Direction>
Enum Constant and Description |
---|
IN
Means from device to host (Android).
|
NONE
There is no data phase
|
OUT
Means from host (Android) to device.
|
Modifier and Type | Method and Description |
---|---|
static CommandBlockWrapper.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandBlockWrapper.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandBlockWrapper.Direction IN
public static final CommandBlockWrapper.Direction OUT
public static final CommandBlockWrapper.Direction NONE
public static CommandBlockWrapper.Direction[] values()
for (CommandBlockWrapper.Direction c : CommandBlockWrapper.Direction.values()) System.out.println(c);
public static CommandBlockWrapper.Direction 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 null