public static enum Magnetometer.DIRECTION extends java.lang.Enum<Magnetometer.DIRECTION>
| Enum Constant and Description |
|---|
CCLOCKW_FIRST |
CLOCKW_FIRST |
| Modifier and Type | Method and Description |
|---|---|
long |
value() |
static Magnetometer.DIRECTION |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Magnetometer.DIRECTION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Magnetometer.DIRECTION CLOCKW_FIRST
public static final Magnetometer.DIRECTION CCLOCKW_FIRST
public static Magnetometer.DIRECTION[] values()
for (Magnetometer.DIRECTION c : Magnetometer.DIRECTION.values()) System.out.println(c);
public static Magnetometer.DIRECTION 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 nullpublic long value()