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

io.github.hapjava.characteristics.impl.accessoryinformation.SerialNumberCharacteristic 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.impl.base.StaticStringCharacteristic;
import java.util.Optional;
import java.util.concurrent.CompletableFuture;
import java.util.function.Supplier;

/** This characteristic contains the manufacturer-specific serial number of the accessory. */
public class SerialNumberCharacteristic extends StaticStringCharacteristic {

  public SerialNumberCharacteristic(Supplier> getter) {
    super(
        "00000030-0000-1000-8000-0026BB765291",
        "serial number",
        Optional.of(getter),
        Optional.empty(),
        Optional.empty());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy