public static enum DeviceManager.UsbDeviceType extends java.lang.Enum<DeviceManager.UsbDeviceType>
Enum Constant and Description |
---|
FTDI_USB_UNKNOWN_DEVICE |
LYNX_USB_DEVICE |
MODERN_ROBOTICS_USB_DC_MOTOR_CONTROLLER |
MODERN_ROBOTICS_USB_DEVICE_INTERFACE_MODULE |
MODERN_ROBOTICS_USB_LEGACY_MODULE |
MODERN_ROBOTICS_USB_SENSOR_MUX |
MODERN_ROBOTICS_USB_SERVO_CONTROLLER |
MODERN_ROBOTICS_USB_UNKNOWN_DEVICE |
UNKNOWN_DEVICE |
WEBCAM
a camera managed by
CameraManager . |
Modifier and Type | Method and Description |
---|---|
static DeviceManager.UsbDeviceType |
from(java.lang.String string) |
static DeviceManager.UsbDeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceManager.UsbDeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceManager.UsbDeviceType FTDI_USB_UNKNOWN_DEVICE
public static final DeviceManager.UsbDeviceType MODERN_ROBOTICS_USB_UNKNOWN_DEVICE
public static final DeviceManager.UsbDeviceType MODERN_ROBOTICS_USB_DC_MOTOR_CONTROLLER
public static final DeviceManager.UsbDeviceType MODERN_ROBOTICS_USB_SERVO_CONTROLLER
public static final DeviceManager.UsbDeviceType MODERN_ROBOTICS_USB_LEGACY_MODULE
public static final DeviceManager.UsbDeviceType MODERN_ROBOTICS_USB_DEVICE_INTERFACE_MODULE
public static final DeviceManager.UsbDeviceType MODERN_ROBOTICS_USB_SENSOR_MUX
public static final DeviceManager.UsbDeviceType LYNX_USB_DEVICE
public static final DeviceManager.UsbDeviceType WEBCAM
CameraManager
. See WebcamName
public static final DeviceManager.UsbDeviceType UNKNOWN_DEVICE
public static DeviceManager.UsbDeviceType[] values()
for (DeviceManager.UsbDeviceType c : DeviceManager.UsbDeviceType.values()) System.out.println(c);
public static DeviceManager.UsbDeviceType 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 nullpublic static DeviceManager.UsbDeviceType from(java.lang.String string)