public interface GpioPin
GpioProvider getProvider()
void setProperty(String key, String value)
boolean hasProperty(String key)
String getProperty(String key)
String getProperty(String key, String defaultValue)
Map<String,String> getProperties()
void removeProperty(String key)
void clearProperties()
void unexport()
boolean isExported()
void setPullResistance(PinPullResistance resistance)
PinPullResistance getPullResistance()
boolean isPullResistance(PinPullResistance resistance)
Collection<GpioPinListener> getListeners()
void addListener(GpioPinListener... listener)
void addListener(List<? extends GpioPinListener> listeners)
boolean hasListener(GpioPinListener... listener)
void removeListener(GpioPinListener... listener)
void removeListener(List<? extends GpioPinListener> listeners)
void removeAllListeners()
GpioPinShutdown getShutdownOptions()
void setShutdownOptions(GpioPinShutdown options)
void setShutdownOptions(Boolean unexport)
void setShutdownOptions(Boolean unexport, PinState state)
void setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance)
void setShutdownOptions(Boolean unexport, PinState state, PinPullResistance resistance, PinMode mode)
Copyright © 2012–2021 Pi4J. All rights reserved.