public class GpioPinEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
protected GpioPin |
pin |
protected PinEventType |
type |
source
Constructor and Description |
---|
GpioPinEvent(Object obj,
GpioPin pin,
PinEventType type) |
Modifier and Type | Method and Description |
---|---|
PinEventType |
getEventType() |
GpioPin |
getPin()
Get the pin number that changed and raised this event.
|
getSource, toString
protected final PinEventType type
public GpioPinEvent(Object obj, GpioPin pin, PinEventType type)
public GpioPin getPin()
public PinEventType getEventType()
Copyright © 2012–2019 Pi4J. All rights reserved.