Lightpublic abstract class Light extends Object
Fields Summary |
---|
public static final int | LIGHT_FLASH_NONE | public static final int | LIGHT_FLASH_TIMED | public static final int | LIGHT_FLASH_HARDWARE | public static final int | BRIGHTNESS_MODE_USERLight brightness is managed by a user setting. | public static final int | BRIGHTNESS_MODE_SENSORLight brightness is managed by a light sensor. |
Methods Summary |
---|
public abstract void | pulse()
| public abstract void | pulse(int color, int onMS)
| public abstract void | setBrightness(int brightness)
| public abstract void | setBrightness(int brightness, int brightnessMode)
| public abstract void | setColor(int color)
| public abstract void | setFlashing(int color, int mode, int onMS, int offMS)
| public abstract void | turnOff()
|
|