Package com.diozero.api
Interface DigitalInputDeviceInterface
-
- All Known Implementing Classes:
AbstractDigitalInputDevice
,Button
,DebouncedDigitalInputDevice
,DigitalInputDevice
,DigitalInputOutputDevice
,MotionSensor
,SmoothedInputDevice
,WaitableDigitalInputDevice
public interface DigitalInputDeviceInterface
Base interface for devices with digital input.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
boolean
getValue()
-
-
-
Method Detail
-
getValue
boolean getValue() throws RuntimeIOException
- Throws:
RuntimeIOException
-
close
void close() throws RuntimeIOException
- Throws:
RuntimeIOException
-
-