public interface LampController
Modifier and Type | Method and Description |
---|---|
int |
getFloodlight()
Returns the color of the floodlight, including Color.NONE.
|
boolean |
isFloodlightOn()
Checks if the floodlight is currently on.
|
void |
setFloodlight(boolean floodlight)
Turns the default LED light on or off.
|
boolean |
setFloodlight(int color)
Used to turn on or off the floodlight by color.
|
void setFloodlight(boolean floodlight)
floodlight
- true to turn on lamp, false for off (ambient light only).boolean isFloodlightOn()
int getFloodlight()
boolean setFloodlight(int color)
color
- Use Color
enumeration constant to control lamp colors.