Interface AccessoryWithStatusActive


  • public interface AccessoryWithStatusActive
    Accessory with status active.
    • 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