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