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