java.io.Serializable
, java.lang.Comparable<SensorType>
public enum SensorType extends java.lang.Enum<SensorType>
Modifier and Type | Method | Description |
---|---|---|
static SensorType |
fromNative(int value) |
|
int |
toNative() |
|
static SensorType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SensorType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensorType IR
public static final SensorType COLOR
public static final SensorType DEPTH
public static SensorType[] values()
for (SensorType c : SensorType.values()) System.out.println(c);
public static SensorType 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 int toNative()
public static SensorType fromNative(int value)