Package com.diozero.api
Interface SensorInterface
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Subinterfaces:
BarometerInterface
,DistanceSensorInterface
,HygrometerInterface
,LuminositySensorInterface
,ThermometerInterface
- All Known Implementing Classes:
BH1750
,BME280
,BMP180
,GP2Y0A21YK
,HCSR04
,HCSR04UsingEvents
,HCSR04UsingWait
,HTS221
,LM73
,LPS25H
,TMP36
,TSL2561
,W1ThermSensor
public interface SensorInterface
extends java.io.Closeable
-
Method Summary
Modifier and Type Method Description void
close()
-
Method Details
-
close
void close()- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-