Package com.tinkerforge
Interface BrickletDistanceIR.AnalogValueReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletDistanceIR
public static interface BrickletDistanceIR.AnalogValueReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletDistanceIR.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 byBrickletDistanceIR.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
analogValueReached(int value)
-