Uses of Class
io.github.hapjava.characteristics.impl.common.ActiveEnum
-
Packages that use ActiveEnum Package Description io.github.hapjava.accessories Contains interfaces that can be implemented to represent an exposed accessory.io.github.hapjava.accessories.optionalcharacteristic io.github.hapjava.characteristics.impl.common -
-
Uses of ActiveEnum in io.github.hapjava.accessories
Methods in io.github.hapjava.accessories that return types with arguments of type ActiveEnum Modifier and Type Method Description java.util.concurrent.CompletableFuture<ActiveEnum>
IrrigationSystemAccessory. getActive()
An irrigation system is set to Active when the system is enabled.java.util.concurrent.CompletableFuture<ActiveEnum>
ValveAccessory. getValveActive()
Retrieves the current active state of the valve; Active could mean the valve is open (but not necessarily running), or that the valve is associated with an active watering program (like a watering program) but is not currently running.Methods in io.github.hapjava.accessories with parameters of type ActiveEnum Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>
IrrigationSystemAccessory. setActive(ActiveEnum active)
Sets the irrigation active statejava.util.concurrent.CompletableFuture<java.lang.Void>
ValveAccessory. setValveActive(ActiveEnum active)
Sets the valve active state -
Uses of ActiveEnum in io.github.hapjava.accessories.optionalcharacteristic
Methods in io.github.hapjava.accessories.optionalcharacteristic that return types with arguments of type ActiveEnum Modifier and Type Method Description java.util.concurrent.CompletableFuture<ActiveEnum>
AccessoryWithActive. getActive()
Retrieves the active state (seeActiveEnum
for supported values).Methods in io.github.hapjava.accessories.optionalcharacteristic with parameters of type ActiveEnum Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>
AccessoryWithActive. setActive(ActiveEnum active)
Set the active state (seeActiveEnum
for supported values). -
Uses of ActiveEnum in io.github.hapjava.characteristics.impl.common
Methods in io.github.hapjava.characteristics.impl.common that return ActiveEnum Modifier and Type Method Description static ActiveEnum
ActiveEnum. fromCode(java.lang.Integer code)
static ActiveEnum
ActiveEnum. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActiveEnum[]
ActiveEnum. 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 ActiveEnum Constructor Description ActiveCharacteristic(java.util.function.Supplier<java.util.concurrent.CompletableFuture<ActiveEnum>> getter, ExceptionalConsumer<ActiveEnum> setter, java.util.function.Consumer<HomekitCharacteristicChangeCallback> subscriber, java.lang.Runnable unsubscriber)
ActiveCharacteristic(java.util.function.Supplier<java.util.concurrent.CompletableFuture<ActiveEnum>> getter, ExceptionalConsumer<ActiveEnum> setter, java.util.function.Consumer<HomekitCharacteristicChangeCallback> subscriber, java.lang.Runnable unsubscriber)
-