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