public static enum Temperature.SensorType extends java.lang.Enum<Temperature.SensorType>
| Enum Constant and Description |
|---|
BOSCH_ENV
Temperature measured by either the BMP280 or BME280 sensor
|
EXT_THERMISTOR
Temperature measured by an externally connected thermistor
|
NRF_SOC
Temperature measured by the nRF SOC
|
PRESET_THERMISTOR
Temperature measured by an on-board thermistor
|
| Modifier and Type | Method and Description |
|---|---|
static Temperature.SensorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Temperature.SensorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Temperature.SensorType NRF_SOC
public static final Temperature.SensorType EXT_THERMISTOR
public static final Temperature.SensorType BOSCH_ENV
public static final Temperature.SensorType PRESET_THERMISTOR
public static Temperature.SensorType[] values()
for (Temperature.SensorType c : Temperature.SensorType.values()) System.out.println(c);
public static Temperature.SensorType 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