Package com.tinkerforge
Interface BrickletColor.ColorReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletColor
public static interface BrickletColor.ColorReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletColor.setColorCallbackThreshold(char, int, int, int, int, int, int, int, int)
is reached. The parameter is the color of the sensor as RGBC. If the threshold keeps being reached, the listener is triggered periodically with the period as set byBrickletColor.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
colorReached(int r, int g, int b, int c)
-