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