Package com.diozero.devices
Interface HygrometerInterface
- All Superinterfaces:
AutoCloseable
,DeviceInterface
,SensorInterface
public interface HygrometerInterface extends SensorInterface
-
Method Summary
Modifier and Type Method Description float
getRelativeHumidity()
Get the relative humidity in percent.Methods inherited from interface com.diozero.api.DeviceInterface
close
-
Method Details
-
getRelativeHumidity
float getRelativeHumidity()Get the relative humidity in percent.- Returns:
- The relative humidity in percent.
-