Package com.tinkerforge
Interface BrickletDistanceIR.DistanceListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletDistanceIR
public static interface BrickletDistanceIR.DistanceListener extends DeviceListener
This listener is triggered periodically with the period that is set byBrickletDistanceIR.setDistanceCallbackPeriod(long)
. The parameter is the distance of the sensor. TheBrickletDistanceIR.DistanceListener
listener is only triggered if the distance has changed since the last triggering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
distance(int distance)
-