com.oracle.deviceaccess.gpio
Interface PortListener
- All Superinterfaces:
- PeripheralEventListener
public interface PortListener
- extends PeripheralEventListener
The PortListener
interface defines methods for
getting notified of a GPIO port value change.
A PortListener
can be registered
using the GPIOPort.setInputListener(com.oracle.deviceaccess.gpio.PortListener)
method.
- See Also:
GPIOPort
valueChanged
void valueChanged(PortEvent event)
- Invoked when a GPIO port's value has changed.
- Parameters:
event
- the event that occurred.
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.