public static enum Message.Direction extends java.lang.Enum<Message.Direction>
| Enum Constant and Description |
|---|
FROM_DEVICE |
TO_DEVICE |
| Modifier and Type | Method and Description |
|---|---|
static Message.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Direction FROM_DEVICE
public static final Message.Direction TO_DEVICE
public static Message.Direction[] values()
for (Message.Direction c : Message.Direction.values()) System.out.println(c);
public static Message.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