public static enum UsbConnection.DeviceType extends Enum<UsbConnection.DeviceType>
Enum Constant and Description |
---|
DEVICETYPE_MULTISPORTS |
DEVICETYPE_SPARK_CARDIO |
DEVICETYPE_SPARK_MUSIC |
DEVICETYPE_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static UsbConnection.DeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsbConnection.DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsbConnection.DeviceType DEVICETYPE_UNKNOWN
public static final UsbConnection.DeviceType DEVICETYPE_MULTISPORTS
public static final UsbConnection.DeviceType DEVICETYPE_SPARK_MUSIC
public static final UsbConnection.DeviceType DEVICETYPE_SPARK_CARDIO
public static UsbConnection.DeviceType[] values()
for (UsbConnection.DeviceType c : UsbConnection.DeviceType.values()) System.out.println(c);
public static UsbConnection.DeviceType 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 nullCopyright © 2020. All rights reserved.