io.github.hapjava.characteristics.impl.accessoryinformation.IdentifyCharacteristic 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.accessoryinformation;
import io.github.hapjava.characteristics.ExceptionalConsumer;
import io.github.hapjava.characteristics.impl.base.BooleanCharacteristic;
import java.util.Optional;
/** This characteristic enables accessory to run its identify routine. */
public class IdentifyCharacteristic extends BooleanCharacteristic {
public IdentifyCharacteristic(ExceptionalConsumer setter) {
super(
"00000014-0000-1000-8000-0026BB765291",
"identifies the accessory",
Optional.empty(),
Optional.of(setter),
Optional.empty(),
Optional.empty());
}
}