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.EventableCharacteristic
s can be subscribed to, and in doing so, are supplied an instance of this class. Implementors should call thechanged()
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.
-