CarClimateStateCallback

@CarProtocol
@RequiresCarApi(value = 5)
@ExperimentalCarApi
interface CarClimateStateCallback


A callback for the car climate state returned from the car hardware, for example, Fan speed, Temperature etc.

Summary

Public functions

Unit

Notifies that the climate state for FEATURE_CABIN_TEMPERATURE is updated.

Unit

Notifies that the climate state for FEATURE_HVAC_DEFROSTER is updated.

Unit
onElectricDefrosterStateAvailable(
    electricDefrosterState: CarValue<Boolean!>
)

Notifies that the climate state for FEATURE_HVAC_ELECTRIC_DEFROSTER is updated.

Unit

Notifies that the climate state for FEATURE_FAN_DIRECTION is updated.

Unit

Notifies that the climate state for FEATURE_FAN_SPEED is updated.

Unit

Notifies that the climate state for FEATURE_HVAC_AC is updated.

Unit

Notifies that the climate state for FEATURE_HVAC_AUTO_MODE is updated.

Unit
onHvacAutoRecirculationStateAvailable(
    hvacAutoRecirculationState: CarValue<Boolean!>
)

Notifies that the climate state for FEATURE_HVAC_AUTO_RECIRCULATION is updated.

Unit

Notifies that the climate state for FEATURE_HVAC_DUAL_MODE is updated.

Unit

Notifies that the climate state for FEATURE_HVAC_MAX_AC is updated.

Unit

Notifies that the climate state for FEATURE_HVAC_POWER is updated.

Unit
onHvacRecirculationStateAvailable(
    hvacRecirculationState: CarValue<Boolean!>
)

Notifies that the climate state for FEATURE_HVAC_RECIRCULATION is updated.

Unit

Notifies that the climate state for FEATURE_HVAC_MAX_DEFROSTER is updated.

Unit
onSeatTemperatureLevelStateAvailable(
    seatTemperatureLevel: CarValue<Int!>
)

Notifies that the climate state for FEATURE_SEAT_TEMPERATURE_LEVEL is updated.

Unit
onSeatVentilationLevelStateAvailable(
    seatVentilationLevel: CarValue<Int!>
)

Notifies that the climate state for FEATURE_SEAT_VENTILATION_LEVEL is updated.

Unit
onSteeringWheelHeatStateAvailable(
    steeringWheelHeatState: CarValue<Boolean!>
)

Notifies that the climate state for FEATURE_STEERING_WHEEL_HEAT is updated.

Public functions

onCabinTemperatureStateAvailable

Added in 1.3.0
fun onCabinTemperatureStateAvailable(hvacCabinTemperature: CarValue<Float!>): Unit

Notifies that the climate state for FEATURE_CABIN_TEMPERATURE is updated.

Parameters
hvacCabinTemperature: CarValue<Float!>

the updated state of hvacCabinTemperature

onDefrosterStateAvailable

Added in 1.3.0
fun onDefrosterStateAvailable(defrosterState: CarValue<Boolean!>): Unit

Notifies that the climate state for FEATURE_HVAC_DEFROSTER is updated.

Parameters
defrosterState: CarValue<Boolean!>

the updated state of defrosterState

onElectricDefrosterStateAvailable

Added in 1.3.0
fun onElectricDefrosterStateAvailable(
    electricDefrosterState: CarValue<Boolean!>
): Unit

Notifies that the climate state for FEATURE_HVAC_ELECTRIC_DEFROSTER is updated.

Parameters
electricDefrosterState: CarValue<Boolean!>

the updated state of electricDefrosterState

onFanDirectionStateAvailable

Added in 1.3.0
fun onFanDirectionStateAvailable(fanDirection: CarValue<Int!>): Unit

Notifies that the climate state for FEATURE_FAN_DIRECTION is updated.

Parameters
fanDirection: CarValue<Int!>

the updated state of fanDirection

onFanSpeedLevelStateAvailable

Added in 1.3.0
fun onFanSpeedLevelStateAvailable(fanSpeedLevel: CarValue<Int!>): Unit

Notifies that the climate state for FEATURE_FAN_SPEED is updated.

Parameters
fanSpeedLevel: CarValue<Int!>

the updated state of fanSpeedLevel

onHvacAcStateAvailable

Added in 1.3.0
fun onHvacAcStateAvailable(hvacAcState: CarValue<Boolean!>): Unit

Notifies that the climate state for FEATURE_HVAC_AC is updated.

Parameters
hvacAcState: CarValue<Boolean!>

the updated state of hvacAcState

onHvacAutoModeStateAvailable

Added in 1.3.0
fun onHvacAutoModeStateAvailable(hvacAutoModeState: CarValue<Boolean!>): Unit

Notifies that the climate state for FEATURE_HVAC_AUTO_MODE is updated.

Parameters
hvacAutoModeState: CarValue<Boolean!>

the updated state of hvacAutoModeState

onHvacAutoRecirculationStateAvailable

Added in 1.3.0
fun onHvacAutoRecirculationStateAvailable(
    hvacAutoRecirculationState: CarValue<Boolean!>
): Unit

Notifies that the climate state for FEATURE_HVAC_AUTO_RECIRCULATION is updated.

Parameters
hvacAutoRecirculationState: CarValue<Boolean!>

the updated state of hvacAutoRecirculationState

onHvacDualModeStateAvailable

Added in 1.3.0
fun onHvacDualModeStateAvailable(hvacDualModeState: CarValue<Boolean!>): Unit

Notifies that the climate state for FEATURE_HVAC_DUAL_MODE is updated.

Parameters
hvacDualModeState: CarValue<Boolean!>

the updated state of hvacDualModeState

onHvacMaxAcModeStateAvailable

Added in 1.3.0
fun onHvacMaxAcModeStateAvailable(hvacMaxAcModeState: CarValue<Boolean!>): Unit

Notifies that the climate state for FEATURE_HVAC_MAX_AC is updated.

Parameters
hvacMaxAcModeState: CarValue<Boolean!>

the updated state of hvacMaxAcModeState

onHvacPowerStateAvailable

Added in 1.3.0
fun onHvacPowerStateAvailable(hvacPowerState: CarValue<Boolean!>): Unit

Notifies that the climate state for FEATURE_HVAC_POWER is updated.

Parameters
hvacPowerState: CarValue<Boolean!>

the updated state of hvacPowerState

onHvacRecirculationStateAvailable

Added in 1.3.0
fun onHvacRecirculationStateAvailable(
    hvacRecirculationState: CarValue<Boolean!>
): Unit

Notifies that the climate state for FEATURE_HVAC_RECIRCULATION is updated.

Parameters
hvacRecirculationState: CarValue<Boolean!>

the updated state of hvacRecirculationState

onMaxDefrosterStateAvailable

Added in 1.3.0
fun onMaxDefrosterStateAvailable(maxDefrosterState: CarValue<Boolean!>): Unit

Notifies that the climate state for FEATURE_HVAC_MAX_DEFROSTER is updated.

Parameters
maxDefrosterState: CarValue<Boolean!>

the updated state of maxDefrosterState

onSeatTemperatureLevelStateAvailable

Added in 1.3.0
fun onSeatTemperatureLevelStateAvailable(
    seatTemperatureLevel: CarValue<Int!>
): Unit

Notifies that the climate state for FEATURE_SEAT_TEMPERATURE_LEVEL is updated.

Parameters
seatTemperatureLevel: CarValue<Int!>

the updated state of seatTemperatureLevel

onSeatVentilationLevelStateAvailable

Added in 1.3.0
fun onSeatVentilationLevelStateAvailable(
    seatVentilationLevel: CarValue<Int!>
): Unit

Notifies that the climate state for FEATURE_SEAT_VENTILATION_LEVEL is updated.

Parameters
seatVentilationLevel: CarValue<Int!>

the updated state of seatVentilationLevel

onSteeringWheelHeatStateAvailable

Added in 1.3.0
fun onSteeringWheelHeatStateAvailable(
    steeringWheelHeatState: CarValue<Boolean!>
): Unit

Notifies that the climate state for FEATURE_STEERING_WHEEL_HEAT is updated.

Parameters
steeringWheelHeatState: CarValue<Boolean!>

the updated state of steeringWheelHeatState