public static enum BNO055IMU.TempUnit extends java.lang.Enum<BNO055IMU.TempUnit>
| Modifier and Type | Field and Description |
|---|---|
byte |
bVal |
| Modifier and Type | Method and Description |
|---|---|
static BNO055IMU.TempUnit |
fromTempUnit(TempUnit tempUnit) |
TempUnit |
toTempUnit() |
static BNO055IMU.TempUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BNO055IMU.TempUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BNO055IMU.TempUnit CELSIUS
public static final BNO055IMU.TempUnit FARENHEIT
public static BNO055IMU.TempUnit[] values()
for (BNO055IMU.TempUnit c : BNO055IMU.TempUnit.values()) System.out.println(c);
public static BNO055IMU.TempUnit 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 TempUnit toTempUnit()
public static BNO055IMU.TempUnit fromTempUnit(TempUnit tempUnit)