Interface HomekitCharacteristicChangeCallback

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface HomekitCharacteristicChangeCallback
    A callback interface for notifying subscribers that a characteristic value has changed.

    EventableCharacteristics can be subscribed to, and in doing so, are supplied an instance of this class. Implementors should call the changed() method on the passed object when a subscribed characteristic changes.

    Author:
    Andy Lintner
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void changed()
      Call when the value of the characteristic that was subscribed to when this object was passed changes.
    • Method Detail

      • changed

        void changed()
        Call when the value of the characteristic that was subscribed to when this object was passed changes.