Class LightState

java.lang.Object
io.github.zeroone3010.yahueapi.domain.LightState

public class LightState
extends java.lang.Object
A data transfer object to hold the properties received from the Hue Bridge. Do not try to use this class to change the state of a light, use State instead.
  • Constructor Summary

    Constructors 
    Constructor Description
    LightState()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getAlert()  
    int getBrightness()  
    java.lang.String getColorMode()  
    int getCt()  
    java.lang.String getEffect()  
    int getHue()  
    java.lang.String getMode()  
    int getSaturation()  
    java.util.List<java.lang.Float> getXy()  
    boolean isOn()  
    boolean isReachable()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • isOn

      public boolean isOn()
    • getBrightness

      public int getBrightness()
    • getHue

      public int getHue()
    • getSaturation

      public int getSaturation()
    • getEffect

      public java.lang.String getEffect()
    • getXy

      public java.util.List<java.lang.Float> getXy()
    • getCt

      public int getCt()
    • getAlert

      public java.lang.String getAlert()
    • getColorMode

      public java.lang.String getColorMode()
    • getMode

      public java.lang.String getMode()
    • isReachable

      public boolean isReachable()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object