Package com.tinkerforge
Interface BrickletAnalogIn.AnalogValueReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletAnalogIn
public static interface BrickletAnalogIn.AnalogValueReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletAnalogIn.setAnalogValueCallbackThreshold(char, int, int)
is reached. The parameter is the analog value of the sensor. If the threshold keeps being reached, the listener is triggered periodically with the period as set byBrickletAnalogIn.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
analogValueReached(int value)
-