Interface HygrometerInterface

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

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 interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface SensorInterface