public static enum Bmm150Magnetometer.ThresholdDetectionType extends java.lang.Enum<Bmm150Magnetometer.ThresholdDetectionType>
Enum Constant and Description |
---|
HIGH_X
Detect when the x-axis B field exceeds the threshold
|
HIGH_Y
Detect when the y-axis B field exceeds the threshold
|
HIGH_Z
Detect when the z-axis B field exceeds the threshold
|
LOW_X
Detect when the x-axis B field drops below the threshold
|
LOW_Y
Detect when the y-axis B field drops below the threshold
|
LOW_Z
Detect when the z-axis B field drops below the threshold
|
Modifier and Type | Method and Description |
---|---|
static Bmm150Magnetometer.ThresholdDetectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bmm150Magnetometer.ThresholdDetectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bmm150Magnetometer.ThresholdDetectionType LOW_X
public static final Bmm150Magnetometer.ThresholdDetectionType LOW_Y
public static final Bmm150Magnetometer.ThresholdDetectionType LOW_Z
public static final Bmm150Magnetometer.ThresholdDetectionType HIGH_X
public static final Bmm150Magnetometer.ThresholdDetectionType HIGH_Y
public static final Bmm150Magnetometer.ThresholdDetectionType HIGH_Z
public static Bmm150Magnetometer.ThresholdDetectionType[] values()
for (Bmm150Magnetometer.ThresholdDetectionType c : Bmm150Magnetometer.ThresholdDetectionType.values()) System.out.println(c);
public static Bmm150Magnetometer.ThresholdDetectionType 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