public interface ThermostatListener
ThermostatModel
.Modifier and Type | Method and Description |
---|---|
void |
onTargetChange(float newTarget)
Callback function when the target temperature is changed.
|
void |
onTemperatureChange(float newTemperature)
Callback function when the temperature is changed.
|
void onTargetChange(float newTarget)
newTarget
- the new target value.void onTemperatureChange(float newTemperature)
newTemperature
- the new temperature value.