Class IsConfiguredCharacteristic
- java.lang.Object
-
- io.github.hapjava.characteristics.impl.base.BaseCharacteristic<Integer>
-
- io.github.hapjava.characteristics.impl.base.EnumCharacteristic<IsConfiguredEnum>
-
- io.github.hapjava.characteristics.impl.common.IsConfiguredCharacteristic
-
- All Implemented Interfaces:
Characteristic,EventableCharacteristic
public class IsConfiguredCharacteristic extends EnumCharacteristic<IsConfiguredEnum>
This characteristic describes whether the service is configured for use. SeeIsConfiguredEnumfor possible values.
-
-
Field Summary
-
Fields inherited from class io.github.hapjava.characteristics.impl.base.EnumCharacteristic
setter
-
-
Constructor Summary
Constructors Constructor Description IsConfiguredCharacteristic(Supplier<CompletableFuture<IsConfiguredEnum>> getter, ExceptionalConsumer<IsConfiguredEnum> setter, Consumer<HomekitCharacteristicChangeCallback> subscriber, Runnable unsubscriber)
-
Method Summary
-
Methods inherited from class io.github.hapjava.characteristics.impl.base.EnumCharacteristic
convert, getDefault, getValue, makeBuilder, setValue
-
Methods inherited from class io.github.hapjava.characteristics.impl.base.BaseCharacteristic
setJsonValue, setValue, subscribe, supplyValue, toJson, unsubscribe
-
-
-
-
Constructor Detail
-
IsConfiguredCharacteristic
public IsConfiguredCharacteristic(Supplier<CompletableFuture<IsConfiguredEnum>> getter, ExceptionalConsumer<IsConfiguredEnum> setter, Consumer<HomekitCharacteristicChangeCallback> subscriber, Runnable unsubscriber)
-
-