
io.github.hapjava.characteristics.impl.television.PowerModeCharacteristic 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.television;
import io.github.hapjava.characteristics.ExceptionalConsumer;
import io.github.hapjava.characteristics.impl.base.EnumCharacteristic;
import java.util.Optional;
/** characteristic sets power mode. See {@link PowerModeEnum} for possible values. */
public class PowerModeCharacteristic extends EnumCharacteristic {
public PowerModeCharacteristic(ExceptionalConsumer setter) {
super(
"000000DF-0000-1000-8000-0026BB765291",
"power mode selection",
PowerModeEnum.values(),
Optional.empty(),
Optional.of(setter),
Optional.empty(),
Optional.empty());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy