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

io.github.hapjava.accessories.optionalcharacteristic.AccessoryWithHoldPosition Maven / Gradle / Ivy

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

import java.util.concurrent.CompletableFuture;

/** Accessory with hold position */
public interface AccessoryWithHoldPosition {

  /**
   * Sets the hold position state
   *
   * @param hold whether or not to hold the current position state
   * @return a future that completes when the change is made
   * @throws Exception when the change cannot be made
   */
  CompletableFuture setHoldPosition(boolean hold) throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy