Class SceneImpl

java.lang.Object
io.github.zeroone3010.yahueapi.v2.SceneImpl
All Implemented Interfaces:
Scene

public class SceneImpl
extends Object
implements Scene
  • Constructor Details

  • Method Details

    • getId

      public UUID getId()
      Description copied from interface: Scene

      Returns the technical id of the scene, as assigned by the Bridge. The id stays the same even if the scene name is changed by the user.

      Specified by:
      getId in interface Scene
      Returns:
      Id of the scene.
    • getName

      public String getName()
      Description copied from interface: Scene
      Returns the name of the scene, as set by the user.
      Specified by:
      getName in interface Scene
      Returns:
      Name of the scene.
    • activate

      public void activate()
      Description copied from interface: Scene
      Activates this scene.
      Specified by:
      activate in interface Scene
    • toString

      public String toString()
      Overrides:
      toString in class Object