Uses of Class
io.github.hapjava.characteristics.impl.battery.StatusLowBatteryEnum
-
Packages that use StatusLowBatteryEnum 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.battery -
-
Uses of StatusLowBatteryEnum in io.github.hapjava.accessories
Methods in io.github.hapjava.accessories that return types with arguments of type StatusLowBatteryEnum Modifier and Type Method Description java.util.concurrent.CompletableFuture<StatusLowBatteryEnum>
BatteryAccessory. getLowBatteryState()
Queries if the device battery level is low; returning a value of true will cause a low-battery status to appear in Home for the device. -
Uses of StatusLowBatteryEnum in io.github.hapjava.accessories.optionalcharacteristic
Methods in io.github.hapjava.accessories.optionalcharacteristic that return types with arguments of type StatusLowBatteryEnum Modifier and Type Method Description java.util.concurrent.CompletableFuture<StatusLowBatteryEnum>
AccessoryWithStatusLowBattery. getStatusLowBattery()
A status of 1 indicates that the battery level of the accessory is low. -
Uses of StatusLowBatteryEnum in io.github.hapjava.characteristics.impl.battery
Methods in io.github.hapjava.characteristics.impl.battery that return StatusLowBatteryEnum Modifier and Type Method Description static StatusLowBatteryEnum
StatusLowBatteryEnum. fromCode(java.lang.Integer code)
static StatusLowBatteryEnum
StatusLowBatteryEnum. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StatusLowBatteryEnum[]
StatusLowBatteryEnum. 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.battery with type arguments of type StatusLowBatteryEnum Constructor Description StatusLowBatteryCharacteristic(java.util.function.Supplier<java.util.concurrent.CompletableFuture<StatusLowBatteryEnum>> getter, java.util.function.Consumer<HomekitCharacteristicChangeCallback> subscriber, java.lang.Runnable unsubscriber)
-