
io.github.hapjava.accessories.optionalcharacteristic.AccessoryWithStatusActive Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hap Show documentation
Show all versions of hap Show documentation
Homekit Accessory Protocol for Java
package io.github.hapjava.accessories.optionalcharacteristic;
import io.github.hapjava.characteristics.HomekitCharacteristicChangeCallback;
import java.util.concurrent.CompletableFuture;
/** Accessory with status active. */
public interface AccessoryWithStatusActive {
/**
* Retrieves the status active. A value of true indicates that the accessory is active and is
* functioning without any errors.
*
* @return a future with the value
*/
CompletableFuture getStatusActive();
/**
* Subscribes to changes in status active.
*
* @param callback the function when the status active changes
*/
void subscribeStatusActive(HomekitCharacteristicChangeCallback callback);
/** Unsubscribes from changes */
void unsubscribeStatusActive();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy