Uses of Class
io.github.zeroone3010.yahueapi.State
| Package | Description |
|---|---|
| io.github.zeroone3010.yahueapi |
-
Uses of State in io.github.zeroone3010.yahueapi
Fields in io.github.zeroone3010.yahueapi declared as State Modifier and Type Field Description static StateState. COLOR_LOOP_EFFECTA state that turns on theEffectType.COLOR_LOOPeffect.static StateState. LONG_ALERTA state that causes light(s) to blink for 15 seconds.static StateState. NO_ALERTA state that stops lights from blinking.static StateState. NO_EFFECTSA state that stops effects.static StateState. SHORT_ALERTA state that causes a short blink to occur.Methods in io.github.zeroone3010.yahueapi that return State Modifier and Type Method Description StateState.Builder. alert(AlertType alert)StateStateBuilderSteps.AlertStep. alert(AlertType alertType)Deprecated.StateState.Builder. effect(EffectType effect)StateStateBuilderSteps.EffectStep. effect(EffectType effect)Deprecated.StateLight. getState()Deprecated.Gets the state of the light -- or returns the cached state if caching has been enabled withHue.setCaching(boolean).default StateStateBuilderSteps.OnOffStep. keepCurrentState()Keeps the current state of the light to which this state is assigned: if it's on, it stays on, and if it's off, it stays off.default StateStateBuilderSteps.OnOffStep. off()Deprecated.StateState.Builder. on(Boolean on)default StateStateBuilderSteps.OnOffStep. on()Deprecated.StateStateBuilderSteps.OnOffStep. on(Boolean on)Deprecated.