public interface MonitoringListener extends PeripheralEventListener, AsyncErrorHandler<ADCChannel>
MonitoringListenerinterface defines methods for getting notified of ADC channel under- and over-threshold input value conditions as well as peripheral errors.
MonitoringListenercan be registered using the
void thresholdReached(MonitoringEvent event)
event- the event that occurred.
void failed(java.lang.Throwable exception, ADCChannel source)
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.