Class ZoneEx

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

    public class ZoneEx
    extends buzz.getcoco.iot.Zone
    • Field Summary

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

        DEFAULT_ZONE_ID, defaultZoneName
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ZoneEx​(int zoneId, buzz.getcoco.iot.Network parent)  
    • Constructor Detail

      • ZoneEx

        protected ZoneEx​(int zoneId,
                         buzz.getcoco.iot.Network parent)
    • Method Detail

      • internalSetName

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

        protected void internalRemoveResource​(buzz.getcoco.iot.Resource resource)
        Overrides:
        internalRemoveResource in class buzz.getcoco.iot.Zone
      • internalAddResource

        protected void internalAddResource​(buzz.getcoco.iot.Resource resource)
        Overrides:
        internalAddResource in class buzz.getcoco.iot.Zone
      • onResourceUpdated

        @CallSuper
        protected void onResourceUpdated​(@NonNull
                                         ResourceEx res)
      • getIdentifier

        public Identifier getIdentifier()
      • getNameObservable

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

        public java.util.List<ResourceEx> getCopyOfResources()
      • getResourcesObservable

        public androidx.lifecycle.LiveData<java.util.List<ResourceEx>> getResourcesObservable()