Interface AccessoryWithStatusTampered


  • public interface AccessoryWithStatusTampered
    This characteristic describes an accessory which has been tampered with.
    • Method Detail

      • getStatusTampered

        java.util.concurrent.CompletableFuture<StatusTamperedEnum> getStatusTampered()
        Retrieves the status tampered.
        Returns:
        a future with the value
      • subscribeStatusTampered

        void subscribeStatusTampered​(HomekitCharacteristicChangeCallback callback)
        Subscribes to changes in status tampered.
        Parameters:
        callback - the function when the status tampered changes
      • unsubscribeStatusTampered

        void unsubscribeStatusTampered()
        Unsubscribes from changes