Oracle Java Wireless Client

com.oracle.deviceaccess.gpio
Interface PinListener

All Superinterfaces:
PeripheralEventListener

public interface PinListener
extends PeripheralEventListener

The PinListener interface defines methods for getting notified of a GPIO pin value change.
A PinListener can be registered using the GPIOPin.setInputListener(com.oracle.deviceaccess.gpio.PinListener) method.

See Also:
GPIOPin

Method Summary
 void valueChanged(PinEvent event)
          Invoked when a GPIO pin's value has changed.
 

Method Detail

valueChanged

void valueChanged(PinEvent event)
Invoked when a GPIO pin's value has changed.

Parameters:
event - the event that occurred.

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.