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 (c) 2012, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.