public static enum AccelerometerBosch.LowGMode extends java.lang.Enum<AccelerometerBosch.LowGMode>
Enum Constant and Description |
---|
SINGLE
Compare |acc_x|, |acc_y|, |acc_z| with the low threshold
|
SUM
Compare |acc_x| + |acc_y| + |acc_z| with the low threshold
|
Modifier and Type | Method and Description |
---|---|
static AccelerometerBosch.LowGMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccelerometerBosch.LowGMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccelerometerBosch.LowGMode SINGLE
public static final AccelerometerBosch.LowGMode SUM
public static AccelerometerBosch.LowGMode[] values()
for (AccelerometerBosch.LowGMode c : AccelerometerBosch.LowGMode.values()) System.out.println(c);
public static AccelerometerBosch.LowGMode 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