public interface MonitoringListener extends PeripheralEventListener
MonitoringListenerinterface defines methods for getting notified of ADC channel under- and over-threshold input value conditions.
MonitoringListenercan be registered using the
ADCChannel.startMonitoring(int, int, MonitoringListener)method.
void thresholdReached(MonitoringEvent event)
event- the event that occurred.
Copyright © 2012, 2013, Oracle and/or its affiliates. All rights reserved.