Class SceneEx

  • All Implemented Interfaces:
    java.lang.Iterable<buzz.getcoco.iot.ResourceAction>

    public class SceneEx
    extends buzz.getcoco.iot.Scene
    • Field Summary

      • Fields inherited from class buzz.getcoco.iot.Scene

        DEFAULT_SCENE_ID
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SceneEx​(int sceneId, buzz.getcoco.iot.Network parent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Identifier getIdentifier()  
      androidx.lifecycle.LiveData<java.lang.String> getNameObservable()  
      androidx.lifecycle.LiveData<java.lang.Boolean> getRemovalObservable()  
      protected void internalSetName​(java.lang.String name)  
      boolean isRemoved()  
      protected void onSceneRemoved()  
      • Methods inherited from class buzz.getcoco.iot.Scene

        addResourceActions, containsResourceAction, execute, getId, getMetadata, getName, getParent, getResourceAction, getResourceActionMap, hashCode, internalAddResourceAction, internalMarkAsReady, internalRemoveResourceAction, internalSetMetadata, internalSetParent, internalUpdateResourceAction, isReady, iterator, removeResourceActions, saveResourceActions, setMetadata, setName, toString, updateResourceActions
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • SceneEx

        protected SceneEx​(int sceneId,
                          buzz.getcoco.iot.Network parent)
    • Method Detail

      • internalSetName

        protected void internalSetName​(java.lang.String name)
        Overrides:
        internalSetName in class buzz.getcoco.iot.Scene
      • onSceneRemoved

        protected void onSceneRemoved()
      • isRemoved

        public boolean isRemoved()
      • getNameObservable

        public androidx.lifecycle.LiveData<java.lang.String> getNameObservable()
      • getRemovalObservable

        public androidx.lifecycle.LiveData<java.lang.Boolean> getRemovalObservable()
      • getIdentifier

        public Identifier getIdentifier()