Package com.pi4j.io.gpio
Interface GpioPinInput
-
- All Superinterfaces:
GpioPin
- All Known Subinterfaces:
GpioPinAnalogInput
,GpioPinDigitalInput
,GpioPinDigitalMultipurpose
- All Known Implementing Classes:
GpioPinImpl
public interface GpioPinInput extends GpioPin
Gpio input pin interface. This interface is extension ofGpioPin
interface with listeners and triggers support..- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTrigger(GpioTrigger... trigger)
void
addTrigger(List<? extends GpioTrigger> triggers)
Collection<GpioTrigger>
getTriggers()
void
removeAllTriggers()
void
removeTrigger(GpioTrigger... trigger)
void
removeTrigger(List<? extends GpioTrigger> triggers)
-
Methods inherited from interface com.pi4j.io.gpio.GpioPin
addListener, addListener, clearProperties, export, export, getListeners, getMode, getName, getPin, getProperties, getProperty, getProperty, getProvider, getPullResistance, getShutdownOptions, getTag, hasListener, hasProperty, isExported, isMode, isPullResistance, removeAllListeners, removeListener, removeListener, removeProperty, setMode, setName, setProperty, setPullResistance, setShutdownOptions, setShutdownOptions, setShutdownOptions, setShutdownOptions, setShutdownOptions, setTag, unexport
-
-
-
-
Method Detail
-
getTriggers
Collection<GpioTrigger> getTriggers()
-
addTrigger
void addTrigger(GpioTrigger... trigger)
-
addTrigger
void addTrigger(List<? extends GpioTrigger> triggers)
-
removeTrigger
void removeTrigger(GpioTrigger... trigger)
-
removeTrigger
void removeTrigger(List<? extends GpioTrigger> triggers)
-
removeAllTriggers
void removeAllTriggers()
-
-