Interface HygrometerInterface

All Superinterfaces:
AutoCloseable, DeviceInterface, SensorInterface
All Known Implementing Classes:
BME280, BME680, HTS221

public interface HygrometerInterface
extends SensorInterface
  • Method Summary

    Modifier and Type Method Description
    void close()
    Close this device
    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()
      Description copied from interface: DeviceInterface
      Close this device
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface DeviceInterface