Uses of Class
io.github.hapjava.characteristics.impl.common.InUseEnum
-
Packages that use InUseEnum Package Description io.github.hapjava.accessories Contains interfaces that can be implemented to represent an exposed accessory.io.github.hapjava.characteristics.impl.common -
-
Uses of InUseEnum in io.github.hapjava.accessories
Methods in io.github.hapjava.accessories that return types with arguments of type InUseEnum Modifier and Type Method Description java.util.concurrent.CompletableFuture<InUseEnum>
IrrigationSystemAccessory. getInUse()
Retrieves the current inUse state of the irrigation; InUse means one of the valves is set to In Use.java.util.concurrent.CompletableFuture<InUseEnum>
ValveAccessory. getValveInUse()
Retrieves the current inUse state of the valve; InUse usually means water is flowing through the valve. -
Uses of InUseEnum in io.github.hapjava.characteristics.impl.common
Methods in io.github.hapjava.characteristics.impl.common that return InUseEnum Modifier and Type Method Description static InUseEnum
InUseEnum. fromCode(java.lang.Integer code)
static InUseEnum
InUseEnum. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InUseEnum[]
InUseEnum. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructor parameters in io.github.hapjava.characteristics.impl.common with type arguments of type InUseEnum Constructor Description InUseCharacteristic(java.util.function.Supplier<java.util.concurrent.CompletableFuture<InUseEnum>> getter, java.util.function.Consumer<HomekitCharacteristicChangeCallback> subscriber, java.lang.Runnable unsubscriber)
-