public static enum Tcs34725ColorDetector.Gain extends java.lang.Enum<Tcs34725ColorDetector.Gain>
Enum Constant and Description |
---|
GAIN_16X |
GAIN_1X |
GAIN_4X |
GAIN_60X |
Modifier and Type | Method and Description |
---|---|
static Tcs34725ColorDetector.Gain |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tcs34725ColorDetector.Gain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tcs34725ColorDetector.Gain GAIN_1X
public static final Tcs34725ColorDetector.Gain GAIN_4X
public static final Tcs34725ColorDetector.Gain GAIN_16X
public static final Tcs34725ColorDetector.Gain GAIN_60X
public static Tcs34725ColorDetector.Gain[] values()
for (Tcs34725ColorDetector.Gain c : Tcs34725ColorDetector.Gain.values()) System.out.println(c);
public static Tcs34725ColorDetector.Gain 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