public static enum Accelerometer.Range extends Enum<Accelerometer.Range>
| Modifier and Type | Method and Description |
|---|---|
static Accelerometer.Range |
valueOf(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(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.