Interface AccessoryWithOzoneDensity
- 
 public interface AccessoryWithOzoneDensityAccessory with Ozone Density characteristic.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default doublegetMaxOzoneDensity()return the max value for ozone density.default doublegetMinOzoneDensity()return the min value for ozone density.default doublegetMinStepOzoneDensity()return the min step value for ozone density.java.util.concurrent.CompletableFuture<java.lang.Double>getOzoneDensity()Retrieves the ozone density.voidsubscribeOzoneDensity(HomekitCharacteristicChangeCallback callback)Subscribes to changes in ozone density.voidunsubscribeOzoneDensity()Unsubscribes from changes
 
- 
- 
- 
Method Detail- 
getOzoneDensityjava.util.concurrent.CompletableFuture<java.lang.Double> getOzoneDensity() Retrieves the ozone density.- Returns:
- a future with the ozone density
 
 - 
getMinOzoneDensitydefault double getMinOzoneDensity() return the min value for ozone density. overwrite if you want to change the default value.- Returns:
- min ozone density
 
 - 
getMaxOzoneDensitydefault double getMaxOzoneDensity() return the max value for ozone density. overwrite if you want to change the default value.- Returns:
- max ozone density
 
 - 
getMinStepOzoneDensitydefault double getMinStepOzoneDensity() return the min step value for ozone density. overwrite if you want to change the default value.- Returns:
- min step ozone density
 
 - 
subscribeOzoneDensityvoid subscribeOzoneDensity(HomekitCharacteristicChangeCallback callback) Subscribes to changes in ozone density.- Parameters:
- callback- the function when ozone density changes
 
 - 
unsubscribeOzoneDensityvoid unsubscribeOzoneDensity() Unsubscribes from changes
 
- 
 
-