Interface AccessoryWithStatusActive
-
public interface AccessoryWithStatusActive
Accessory with status active.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Boolean>
getStatusActive()
Retrieves the status active.void
subscribeStatusActive(HomekitCharacteristicChangeCallback callback)
Subscribes to changes in status active.void
unsubscribeStatusActive()
Unsubscribes from changes
-
-
-
Method Detail
-
getStatusActive
java.util.concurrent.CompletableFuture<java.lang.Boolean> getStatusActive()
Retrieves the status active. A value of true indicates that the accessory is active and is functioning without any errors.- Returns:
- a future with the value
-
subscribeStatusActive
void subscribeStatusActive(HomekitCharacteristicChangeCallback callback)
Subscribes to changes in status active.- Parameters:
callback
- the function when the status active changes
-
unsubscribeStatusActive
void unsubscribeStatusActive()
Unsubscribes from changes
-
-