public enum DataCollectionMode extends Enum<DataCollectionMode>
| Modifier and Type | Method and Description |
|---|---|
static DataCollectionMode |
fromValue(int value)
Gets an operation mode from its byte value.
|
byte |
getCode()
Gets the byte value of the operation mode.
|
static String[] |
names()
Returns an array containing the names of the operation mode constants.
|
String |
toString()
Returns the string message of the operation mode.
|
static DataCollectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataCollectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataCollectionMode wedge
public static final DataCollectionMode auto
public static final DataCollectionMode batch
public static final DataCollectionMode semiAuto
public static DataCollectionMode[] values()
for (DataCollectionMode c : DataCollectionMode.values()) System.out.println(c);
public static DataCollectionMode 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 nullpublic byte getCode()
public String toString()
toString in class Enum<DataCollectionMode>public static DataCollectionMode fromValue(int value) throws IllegalArgumentException
value - The byte value of the operation mode.IllegalArgumentException - If the byte value does not correspond to any operation mode.public static String[] names()