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