Package com.diozero.devices
Interface HygrometerInterface
- All Superinterfaces:
AutoCloseable
,Closeable
,SensorInterface
public interface HygrometerInterface extends SensorInterface
-
Method Summary
Modifier and Type Method Description void
close()
float
getRelativeHumidity()
Get the relative humidity in percent.
-
Method Details
-
getRelativeHumidity
float getRelativeHumidity()Get the relative humidity in percent.- Returns:
- The relative humidity in percent.
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceSensorInterface
-