public interface MonitoringListener extends PeripheralEventListener
MonitoringListener interface defines methods for getting notified of ADC channel under- and
over-threshold input value conditions. MonitoringListener can be registered using the
ADCChannel.startMonitoring(int, int, MonitoringListener) method.ADCChannel| Modifier and Type | Method and Description |
|---|---|
void |
thresholdReached(MonitoringEvent event)
Invoked when the input value has reached the
low or high threshold. |
void thresholdReached(MonitoringEvent event)
low or high threshold.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.