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