public interface PortListener
PortListener
interface defines methods for getting notified of GPIO port value changes. PortListener
can be registered using the
GPIOPort.setInputListener(com.oracle.deviceaccess.gpio.PortListener)
method.GPIOPort
Modifier and Type | Method and Description |
---|---|
void |
valueChanged(PortEvent event)
Invoked when a GPIO port's value has changed.
|
void valueChanged(PortEvent event)
event
- the event that occurred.Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.