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

io.github.hapjava.characteristics.impl.accessoryinformation.IdentifyCharacteristic Maven / Gradle / Ivy

There is a newer version: 2.0.7
Show newest version
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());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy