Uses of Class
io.github.zeroone3010.yahueapi.v2.UpdateState
| Package | Description |
|---|---|
| io.github.zeroone3010.yahueapi.v2 |
-
Uses of UpdateState in io.github.zeroone3010.yahueapi.v2
Methods in io.github.zeroone3010.yahueapi.v2 that return UpdateState Modifier and Type Method Description UpdateStateUpdateState. alert()Alerts, i.e.UpdateStateUpdateState. brightness(int brightness)UpdateStateUpdateState. clearTimedEffect()Stops the timed effect.UpdateStateUpdateState. color(Color color)One way of setting the color of the light(s).UpdateStateUpdateState. effect(EffectType effectType)Starts an effect, or stops it with theEffectType.NO_EFFECT.UpdateStateUpdateState. gradient(List<Color> colors)Gradient color setting, for lights that support gradients.UpdateStateUpdateState. off()Makes this state turn the light(s) off.UpdateStateUpdateState. on()Makes this state turn the light(s) on.UpdateStateUpdateState. on(boolean on)Toggles the on/off status of the light(s).UpdateStateUpdateState. sunrise(Duration duration)Starts the timed sunrise effect.UpdateStateUpdateState. timedEffect(TimedEffectType effect, Duration duration)Starts a timed effect.UpdateStateUpdateState. xy(float x, float y)Other way of setting the color of the light(s): CIE XY gamut position.Methods in io.github.zeroone3010.yahueapi.v2 with parameters of type UpdateState Modifier and Type Method Description voidGroup. setState(UpdateState state)Sets a state for the light.voidGroupImpl. setState(UpdateState state)voidLight. setState(UpdateState state)Sets a state for the light.voidLightImpl. setState(UpdateState state)