Package com.pi4j.io.gpio
Interface GpioPinAnalogInput
-
- All Superinterfaces:
GpioPin
,GpioPinAnalog
,GpioPinInput
- All Known Implementing Classes:
GpioPinImpl
public interface GpioPinAnalogInput extends GpioPinAnalog, GpioPinInput
Analog input pin inteface.- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(GpioPinListener... listener)
void
addListener(List<? extends GpioPinListener> listeners)
void
addTrigger(GpioTrigger... trigger)
void
addTrigger(List<? extends GpioTrigger> triggers)
Collection<GpioPinListener>
getListeners()
Collection<GpioTrigger>
getTriggers()
boolean
hasListener(GpioPinListener... listener)
void
removeAllListeners()
void
removeAllTriggers()
void
removeListener(GpioPinListener... listener)
void
removeListener(List<? extends GpioPinListener> listeners)
void
removeTrigger(GpioTrigger... trigger)
void
removeTrigger(List<? extends GpioTrigger> triggers)
-
Methods inherited from interface com.pi4j.io.gpio.GpioPin
clearProperties, export, export, getMode, getName, getPin, getProperties, getProperty, getProperty, getProvider, getPullResistance, getShutdownOptions, getTag, hasProperty, isExported, isMode, isPullResistance, removeProperty, setMode, setName, setProperty, setPullResistance, setShutdownOptions, setShutdownOptions, setShutdownOptions, setShutdownOptions, setShutdownOptions, setTag, unexport
-
Methods inherited from interface com.pi4j.io.gpio.GpioPinAnalog
getValue
-
-
-
-
Method Detail
-
getListeners
Collection<GpioPinListener> getListeners()
- Specified by:
getListeners
in interfaceGpioPin
-
addListener
void addListener(GpioPinListener... listener)
- Specified by:
addListener
in interfaceGpioPin
-
addListener
void addListener(List<? extends GpioPinListener> listeners)
- Specified by:
addListener
in interfaceGpioPin
-
hasListener
boolean hasListener(GpioPinListener... listener)
- Specified by:
hasListener
in interfaceGpioPin
-
removeListener
void removeListener(GpioPinListener... listener)
- Specified by:
removeListener
in interfaceGpioPin
-
removeListener
void removeListener(List<? extends GpioPinListener> listeners)
- Specified by:
removeListener
in interfaceGpioPin
-
removeAllListeners
void removeAllListeners()
- Specified by:
removeAllListeners
in interfaceGpioPin
-
getTriggers
Collection<GpioTrigger> getTriggers()
- Specified by:
getTriggers
in interfaceGpioPinInput
-
addTrigger
void addTrigger(GpioTrigger... trigger)
- Specified by:
addTrigger
in interfaceGpioPinInput
-
addTrigger
void addTrigger(List<? extends GpioTrigger> triggers)
- Specified by:
addTrigger
in interfaceGpioPinInput
-
removeTrigger
void removeTrigger(GpioTrigger... trigger)
- Specified by:
removeTrigger
in interfaceGpioPinInput
-
removeTrigger
void removeTrigger(List<? extends GpioTrigger> triggers)
- Specified by:
removeTrigger
in interfaceGpioPinInput
-
removeAllTriggers
void removeAllTriggers()
- Specified by:
removeAllTriggers
in interfaceGpioPinInput
-
-