CarClimateStateCallback
@CarProtocol
@RequiresCarApi(value = 5)
@ExperimentalCarApi
public interface CarClimateStateCallback
A callback for the car climate state returned from the car hardware, for example, Fan speed, Temperature etc.
Summary
Public methods |
|
|---|---|
default void |
onCabinTemperatureStateAvailable(Notifies that the climate state for |
default void |
onDefrosterStateAvailable(@NonNull CarValue<Boolean> defrosterState)Notifies that the climate state for |
default void |
onElectricDefrosterStateAvailable(Notifies that the climate state for |
default void |
onFanDirectionStateAvailable(@NonNull CarValue<Integer> fanDirection)Notifies that the climate state for |
default void |
onFanSpeedLevelStateAvailable(@NonNull CarValue<Integer> fanSpeedLevel)Notifies that the climate state for |
default void |
onHvacAcStateAvailable(@NonNull CarValue<Boolean> hvacAcState)Notifies that the climate state for |
default void |
onHvacAutoModeStateAvailable(Notifies that the climate state for |
default void |
onHvacAutoRecirculationStateAvailable(Notifies that the climate state for |
default void |
onHvacDualModeStateAvailable(Notifies that the climate state for |
default void |
onHvacMaxAcModeStateAvailable(Notifies that the climate state for |
default void |
onHvacPowerStateAvailable(@NonNull CarValue<Boolean> hvacPowerState)Notifies that the climate state for |
default void |
onHvacRecirculationStateAvailable(Notifies that the climate state for |
default void |
onMaxDefrosterStateAvailable(Notifies that the climate state for |
default void |
onSeatTemperatureLevelStateAvailable(Notifies that the climate state for |
default void |
onSeatVentilationLevelStateAvailable(Notifies that the climate state for |
default void |
onSteeringWheelHeatStateAvailable(Notifies that the climate state for |
Public methods
onCabinTemperatureStateAvailable
default void onCabinTemperatureStateAvailable(
@NonNull CarValue<Float> hvacCabinTemperature
)
Notifies that the climate state for FEATURE_CABIN_TEMPERATURE is updated.
onDefrosterStateAvailable
default void onDefrosterStateAvailable(@NonNull CarValue<Boolean> defrosterState)
Notifies that the climate state for FEATURE_HVAC_DEFROSTER is updated.
onElectricDefrosterStateAvailable
default void onElectricDefrosterStateAvailable(
@NonNull CarValue<Boolean> electricDefrosterState
)
Notifies that the climate state for FEATURE_HVAC_ELECTRIC_DEFROSTER is updated.
onFanDirectionStateAvailable
default void onFanDirectionStateAvailable(@NonNull CarValue<Integer> fanDirection)
Notifies that the climate state for FEATURE_FAN_DIRECTION is updated.
onFanSpeedLevelStateAvailable
default void onFanSpeedLevelStateAvailable(@NonNull CarValue<Integer> fanSpeedLevel)
Notifies that the climate state for FEATURE_FAN_SPEED is updated.
onHvacAcStateAvailable
default void onHvacAcStateAvailable(@NonNull CarValue<Boolean> hvacAcState)
Notifies that the climate state for FEATURE_HVAC_AC is updated.
onHvacAutoModeStateAvailable
default void onHvacAutoModeStateAvailable(
@NonNull CarValue<Boolean> hvacAutoModeState
)
Notifies that the climate state for FEATURE_HVAC_AUTO_MODE is updated.
onHvacAutoRecirculationStateAvailable
default void onHvacAutoRecirculationStateAvailable(
@NonNull CarValue<Boolean> hvacAutoRecirculationState
)
Notifies that the climate state for FEATURE_HVAC_AUTO_RECIRCULATION is updated.
onHvacDualModeStateAvailable
default void onHvacDualModeStateAvailable(
@NonNull CarValue<Boolean> hvacDualModeState
)
Notifies that the climate state for FEATURE_HVAC_DUAL_MODE is updated.
onHvacMaxAcModeStateAvailable
default void onHvacMaxAcModeStateAvailable(
@NonNull CarValue<Boolean> hvacMaxAcModeState
)
Notifies that the climate state for FEATURE_HVAC_MAX_AC is updated.
onHvacPowerStateAvailable
default void onHvacPowerStateAvailable(@NonNull CarValue<Boolean> hvacPowerState)
Notifies that the climate state for FEATURE_HVAC_POWER is updated.
onHvacRecirculationStateAvailable
default void onHvacRecirculationStateAvailable(
@NonNull CarValue<Boolean> hvacRecirculationState
)
Notifies that the climate state for FEATURE_HVAC_RECIRCULATION is updated.
onMaxDefrosterStateAvailable
default void onMaxDefrosterStateAvailable(
@NonNull CarValue<Boolean> maxDefrosterState
)
Notifies that the climate state for FEATURE_HVAC_MAX_DEFROSTER is updated.
onSeatTemperatureLevelStateAvailable
default void onSeatTemperatureLevelStateAvailable(
@NonNull CarValue<Integer> seatTemperatureLevel
)
Notifies that the climate state for FEATURE_SEAT_TEMPERATURE_LEVEL is updated.
onSeatVentilationLevelStateAvailable
default void onSeatVentilationLevelStateAvailable(
@NonNull CarValue<Integer> seatVentilationLevel
)
Notifies that the climate state for FEATURE_SEAT_VENTILATION_LEVEL is updated.
onSteeringWheelHeatStateAvailable
default void onSteeringWheelHeatStateAvailable(
@NonNull CarValue<Boolean> steeringWheelHeatState
)
Notifies that the climate state for FEATURE_STEERING_WHEEL_HEAT is updated.