io.github.hapjava.characteristics.impl.accessoryinformation.SerialNumberCharacteristic 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.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());
}
}