public static enum Accelerometer.Component extends java.lang.Enum<Accelerometer.Component>
Enum Constant and Description |
---|
DATA
XYZ data sampling
|
FREE_FALL
Free fall or motion detection
|
ORIENTATION
Orientation detection
|
PULSE
Tap detection
|
TRANSIENT
Shake detection
|
Modifier and Type | Field and Description |
---|---|
Accelerometer.Register |
config |
Accelerometer.Register |
enable |
Accelerometer.Register |
status |
Modifier and Type | Method and Description |
---|---|
static Accelerometer.Component |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Accelerometer.Component[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Accelerometer.Component DATA
public static final Accelerometer.Component FREE_FALL
public static final Accelerometer.Component ORIENTATION
public static final Accelerometer.Component PULSE
public static final Accelerometer.Component TRANSIENT
public final Accelerometer.Register enable
public final Accelerometer.Register config
public final Accelerometer.Register status
public static Accelerometer.Component[] values()
for (Accelerometer.Component c : Accelerometer.Component.values()) System.out.println(c);
public static Accelerometer.Component 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