|
Oracle Java Wireless Client | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oracle.deviceaccess.PeripheralEvent com.oracle.deviceaccess.gpio.PinEvent
public class PinEvent
The PinEvent
class encapsulates GPIO pin value changes.
When/if value change events for the same GPIO Pin are coalesced the value
retained is that of the last occurrence.
GPIOPin
,
PinListener
Field Summary |
Fields inherited from class com.oracle.deviceaccess.PeripheralEvent |
peripheral |
Method Summary | |
GPIOPin |
getPin()
Returns the GPIOPin instance that fired this event or for which this
event was fired. |
boolean |
getValue()
Returns the new GPIO pin's value. |
Methods inherited from class com.oracle.deviceaccess.PeripheralEvent |
getPeripheral |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean getValue()
public GPIOPin getPin()
GPIOPin
instance that fired this event or for which this
event was fired.
GPIOPin
instance that fired this event.
|
Oracle Java Wireless Client | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |