public static enum AccelerometerControl.AMode extends Enum<AccelerometerControl.AMode>
| Enum Constant and Description |
|---|
ACCELEROMETER_MODE |
GRAVITY_MODE |
| Modifier and Type | Method and Description |
|---|---|
static AccelerometerControl.AMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccelerometerControl.AMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccelerometerControl.AMode GRAVITY_MODE
public static final AccelerometerControl.AMode ACCELEROMETER_MODE
public static AccelerometerControl.AMode[] values()
for (AccelerometerControl.AMode c : AccelerometerControl.AMode.values()) System.out.println(c);
public static AccelerometerControl.AMode 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 nullCopyright © 2015. All Rights Reserved.