Uses of Class
io.github.hapjava.characteristics.impl.contactsensor.ContactStateEnum
-
Packages that use ContactStateEnum Package Description io.github.hapjava.accessories Contains interfaces that can be implemented to represent an exposed accessory.io.github.hapjava.characteristics.impl.contactsensor -
-
Uses of ContactStateEnum in io.github.hapjava.accessories
Methods in io.github.hapjava.accessories that return types with arguments of type ContactStateEnum Modifier and Type Method Description java.util.concurrent.CompletableFuture<ContactStateEnum>
ContactSensorAccessory. getCurrentState()
Retrieves the state of the contact. -
Uses of ContactStateEnum in io.github.hapjava.characteristics.impl.contactsensor
Methods in io.github.hapjava.characteristics.impl.contactsensor that return ContactStateEnum Modifier and Type Method Description static ContactStateEnum
ContactStateEnum. fromCode(java.lang.Integer code)
static ContactStateEnum
ContactStateEnum. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ContactStateEnum[]
ContactStateEnum. 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.contactsensor with type arguments of type ContactStateEnum Constructor Description ContactSensorStateCharacteristic(java.util.function.Supplier<java.util.concurrent.CompletableFuture<ContactStateEnum>> getter, java.util.function.Consumer<HomekitCharacteristicChangeCallback> subscriber, java.lang.Runnable unsubscriber)
-