Interface EventableCharacteristic
- 
- All Superinterfaces:
- Characteristic
 - All Known Implementing Classes:
- AccessoryFlagsCharacteristic,- ActiveCharacteristic,- ActiveIdentifierCharacteristic,- AirPlayEnableCharacteristic,- AirQualityCharacteristic,- BaseCharacteristic,- BatteryLevelCharacteristic,- BooleanCharacteristic,- BrightnessCharacteristic,- CarbonDioxideDetectedCharacteristic,- CarbonDioxideLevelCharacteristic,- CarbonDioxidePeakLevelCharacteristic,- CarbonMonoxideDetectedCharacteristic,- CarbonMonoxideLevelCharacteristic,- CarbonMonoxidePeakLevelCharacteristic,- ChargingStateCharacteristic,- ClosedCaptionsCharacteristic,- ColorTemperatureCharacteristic,- ConfiguredNameCharacteristic,- ContactSensorStateCharacteristic,- CoolingThresholdTemperatureCharacteristic,- CurrentAirPurifierCharacteristic,- CurrentAmbientLightLevelCharacteristic,- CurrentDoorStateCharacteristic,- CurrentFanStateCharacteristic,- CurrentHeaterCoolerStateCharacteristic,- CurrentHeatingCoolingStateCharacteristic,- CurrentHorizontalTiltAngleCharacteristic,- CurrentHumidifierDehumidifierStateCharacteristic,- CurrentMediaStateCharacteristic,- CurrentPositionCharacteristic,- CurrentRelativeHumidityCharacteristic,- CurrentSecuritySystemStateCharacteristic,- CurrentSlatStateCharacteristic,- CurrentTemperatureCharacteristic,- CurrentTiltAngleCharacteristic,- CurrentVerticalTiltAngleCharacteristic,- CurrentVisibilityStateCharacteristic,- EnumCharacteristic,- FilterChangeIndicationCharacteristic,- FilterLifeLevelCharacteristic,- FirmwareRevisionCharacteristic,- FloatCharacteristic,- HardwareRevisionCharacteristic,- HeatingThresholdTemperatureCharacteristic,- HoldPositionCharacteristic,- HueCharacteristic,- HumidityDehumidifierThresholdCharacteristic,- HumidityHumidifierThresholdCharacteristic,- IdentifierCharacteristic,- IdentifyCharacteristic,- InputDeviceTypeCharacteristic,- InputSourceTypeCharacteristic,- IntegerCharacteristic,- InUseCharacteristic,- IsConfiguredCharacteristic,- LeakDetectedStateCharacteristic,- LockCurrentStateCharacteristic,- LockPhysicalControlsCharacteristic,- LockTargetStateCharacteristic,- ManufacturerCharacteristic,- ModelCharacteristic,- MotionDetectedCharacteristic,- MuteCharacteristic,- NameCharacteristic,- NitrogenDioxideDensityCharacteristic,- ObstructionDetectedCharacteristic,- OccupancyDetectedCharacteristic,- OnCharacteristic,- OutletInUseCharacteristic,- OzoneDensityCharacteristic,- PictureModeCharacteristic,- PM10DensityCharacteristic,- PM25DensityCharacteristic,- PositionStateCharacteristic,- PowerModeCharacteristic,- ProgrammableSwitchEventCharacteristic,- ProgramModeCharacteristic,- RemainingDurationCharacteristic,- RemoteKeyCharacteristic,- ResetFilterIndicationCharacteristic,- RotationDirectionCharacteristic,- RotationSpeedCharacteristic,- SaturationCharacteristic,- SecuritySystemAlarmTypeCharacteristic,- SerialNumberCharacteristic,- ServiceLabelIndexCharacteristic,- ServiceLabelNamespaceCharacteristic,- SetDurationCharacteristic,- SlatTypeCharacteristic,- SleepDiscoveryModeCharacteristic,- SmokeDetectedCharacteristic,- StaticStringCharacteristic,- StatusActiveCharacteristic,- StatusFaultCharacteristic,- StatusLowBatteryCharacteristic,- StatusTamperedCharacteristic,- StringCharacteristic,- SulphurDioxideDensityCharacteristic,- SwingModeCharacteristic,- TargetAirPurifierStateCharacteristic,- TargetDoorStateCharacteristic,- TargetFanStateCharacteristic,- TargetHeaterCoolerStateCharacteristic,- TargetHeatingCoolingStateCharacteristic,- TargetHorizontalTiltAngleCharacteristic,- TargetHumidifierDehumidifierStateCharacteristic,- TargetMediaStateCharacteristic,- TargetPositionCharacteristic,- TargetRelativeHumidityCharacteristic,- TargetSecuritySystemStateCharacteristic,- TargetTemperatureCharacteristic,- TargetTiltAngleCharacteristic,- TargetVerticalTiltAngleCharacteristic,- TargetVisibilityStateCharacteristic,- TemperatureDisplayUnitCharacteristic,- ValveTypeCharacteristic,- VersionCharacteristic,- VOCDensityCharacteristic,- VolumeCharacteristic,- VolumeControlTypeCharacteristic,- VolumeSelectorCharacteristic,- WaterLavelCharacteristic
 
 public interface EventableCharacteristic extends Characteristic A characteristic that can be listened to by the connected iOS device.- Author:
- Andy Lintner
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsubscribe(HomekitCharacteristicChangeCallback callback)Begin listening to changes to this characteristic.voidunsubscribe()Stop listening to changes to this characteristic.- 
Methods inherited from interface io.github.hapjava.characteristics.CharacteristicgetType, setValue, supplyValue, toJson
 
- 
 
- 
- 
- 
Method Detail- 
subscribevoid subscribe(HomekitCharacteristicChangeCallback callback) Begin listening to changes to this characteristic. When a change is made, call the provided function.- Parameters:
- callback- a function to call when a change is made to the characteristic value.
 
 - 
unsubscribevoid unsubscribe() Stop listening to changes to this characteristic.
 
- 
 
-