Class InputSourceTypeCharacteristic
- java.lang.Object
-
- io.github.hapjava.characteristics.impl.base.BaseCharacteristic<Integer>
-
- io.github.hapjava.characteristics.impl.base.EnumCharacteristic<InputSourceTypeEnum>
-
- io.github.hapjava.characteristics.impl.inputsource.InputSourceTypeCharacteristic
-
- All Implemented Interfaces:
Characteristic,EventableCharacteristic
public class InputSourceTypeCharacteristic extends EnumCharacteristic<InputSourceTypeEnum>
This characteristic describes input source type.
-
-
Field Summary
-
Fields inherited from class io.github.hapjava.characteristics.impl.base.EnumCharacteristic
setter
-
-
Constructor Summary
Constructors Constructor Description InputSourceTypeCharacteristic(Supplier<CompletableFuture<InputSourceTypeEnum>> getter, 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
-
InputSourceTypeCharacteristic
public InputSourceTypeCharacteristic(Supplier<CompletableFuture<InputSourceTypeEnum>> getter, Consumer<HomekitCharacteristicChangeCallback> subscriber, Runnable unsubscriber)
-
-