Package com.tinkerforge
Interface BrickletColor.ColorListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletColor
public static interface BrickletColor.ColorListener extends DeviceListener
This listener is triggered periodically with the period that is set byBrickletColor.setColorCallbackPeriod(long)
. The parameter is the color of the sensor as RGBC. TheBrickletColor.ColorListener
listener is only triggered if the color has changed since the last triggering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
color(int r, int g, int b, int c)
-