All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.hapjava.characteristics.HomekitCharacteristicChangeCallback Maven / Gradle / Ivy

There is a newer version: 2.0.7
Show newest version
package io.github.hapjava.characteristics;

/**
 * A callback interface for notifying subscribers that a characteristic value has changed.
 *
 * 

{@link EventableCharacteristic}s can be subscribed to, and in doing so, are supplied an * instance of this class. Implementors should call the {@link #changed()} method on the passed * object when a subscribed characteristic changes. * * @author Andy Lintner */ @FunctionalInterface public interface HomekitCharacteristicChangeCallback { /** * Call when the value of the characteristic that was subscribed to when this object was passed * changes. */ void changed(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy