public class DigitalInputEvent extends DeviceEvent
Constructor and Description |
---|
DigitalInputEvent(int gpio,
long epochTime,
long nanoTime,
boolean value) |
Modifier and Type | Method and Description |
---|---|
boolean |
getValue()
Returns the underlying GPIO state.
|
boolean |
isActive() |
String |
toString() |
getEpochTime, getGpio, getNanoTime
Copyright © 2016–2017 mattjlewis. All rights reserved.