io.github.hapjava.characteristics.impl.windowcovering.HoldPositionCharacteristic 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.characteristics.impl.windowcovering;
import io.github.hapjava.characteristics.ExceptionalConsumer;
import io.github.hapjava.characteristics.impl.base.BooleanCharacteristic;
import java.util.Optional;
/** This characteristic causes the accessories like window covering to stop at its current */
public class HoldPositionCharacteristic extends BooleanCharacteristic {
public HoldPositionCharacteristic(ExceptionalConsumer setter) {
super(
"0000006F-0000-1000-8000-0026BB765291",
"Hold Position",
Optional.empty(),
Optional.of(setter),
Optional.empty(),
Optional.empty());
}
}