CarClimateProfileCallback

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


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

Summary

Public functions

Unit

Notifies that the profile information for FEATURE_CABIN_TEMPERATURE is available.

Unit

Notifies that the profile information for FEATURE_CAR_ZONE_MAPPING is available.

Unit

Notifies that the profile information for FEATURE_HVAC_DEFROSTER is available.

Unit

Notifies that the profile information for FEATURE_HVAC_ELECTRIC_DEFROSTER is available.

Unit

Notifies that the profile information for FEATURE_FAN_DIRECTION is available.

Unit

Notifies that the profile information for FEATURE_FAN_SPEED is available.

Unit

Notifies that the profile information for FEATURE_HVAC_AC is available.

Unit

Notifies that the profile information for FEATURE_HVAC_AUTO_MODE is available.

Unit

Notifies that the profile information for FEATURE_HVAC_AUTO_RECIRCULATION is available.

Unit

Notifies that the profile information for FEATURE_HVAC_DUAL_MODE is available.

Unit

Notifies that the profile information for FEATURE_HVAC_MAX_AC is available.

Unit

Notifies that the profile information for FEATURE_HVAC_POWER is available.

Unit

Notifies that the profile information for FEATURE_HVAC_RECIRCULATION is available.

Unit

Notifies that the profile information for FEATURE_HVAC_MAX_DEFROSTER is available.

Unit

Notifies that the profile information for FEATURE_SEAT_TEMPERATURE_LEVEL is available.

Unit

Notifies that the profile information for FEATURE_SEAT_VENTILATION_LEVEL is available.

Unit

Notifies that the profile information for FEATURE_STEERING_WHEEL_HEAT is available.

Public functions

onCabinTemperatureProfileAvailable

Added in 1.3.0
fun onCabinTemperatureProfileAvailable(
    cabinTemperatureProfile: CabinTemperatureProfile
): Unit

Notifies that the profile information for FEATURE_CABIN_TEMPERATURE is available.

Applications will get a single callback containing a list of different temperatures in Celsius and Fahrenheit for different groups of zones. Returns empty lists if the car can not support the feature. s

Parameters
cabinTemperatureProfile: CabinTemperatureProfile

an object of CabinTemperatureProfile class containing information about the feature's supported values

onCarZoneMappingInfoProfileAvailable

Added in 1.3.0
fun onCarZoneMappingInfoProfileAvailable(
    carZoneMappingInfoProfile: CarZoneMappingInfoProfile
): Unit

Notifies that the profile information for FEATURE_CAR_ZONE_MAPPING is available.

Applications will get multiple callbacks. For each callback, it returns a CarZone seatsGroupedZone and a List<CarZone> which contains all individual seats in thisseatsGroupedZone.

Parameters
carZoneMappingInfoProfile: CarZoneMappingInfoProfile

an object of CarZoneMappingInfoProfile class containing information about the feature's supported zones

onDefrosterProfileAvailable

Added in 1.3.0
fun onDefrosterProfileAvailable(defrosterProfile: DefrosterProfile): Unit

Notifies that the profile information for FEATURE_HVAC_DEFROSTER is available.

Applications will get multiple callbacks if the car climate system can control the defroster independently in multiple zones. Returns an empty list if the car can not support the feature.

A CarZone with CarZone#CAR_ZONE_ROW_FIRST indicates the front window. The rear window's zone will have row value as CarZone#CAR_ZONE_ROW_EXCLUDE_FIRST.

Parameters
defrosterProfile: DefrosterProfile

an object of DefrosterProfile class containing information about the feature's supported zones

onElectricDefrosterProfileAvailable

Added in 1.3.0
fun onElectricDefrosterProfileAvailable(
    electricDefrosterProfile: ElectricDefrosterProfile
): Unit

Notifies that the profile information for FEATURE_HVAC_ELECTRIC_DEFROSTER is available.

Applications will get multiple callbacks if the car climate system can control the HVAC electric defroster independently in multiple zones. Returns an empty list if the car can not support the feature.

A CarZone with CarZone#CAR_ZONE_ROW_FIRST indicates the front window. The rear window's zone will have row value as CarZone#CAR_ZONE_ROW_EXCLUDE_FIRST.

Parameters
electricDefrosterProfile: ElectricDefrosterProfile

an object of ElectricDefrosterProfile class containing information about the feature's supported zones

onFanDirectionProfileAvailable

Added in 1.3.0
fun onFanDirectionProfileAvailable(
    fanDirectionProfile: FanDirectionProfile
): Unit

Notifies that the profile information for FEATURE_FAN_DIRECTION is available.

Applications will get a single callback containing a list of different fan directions for different groups of zones. Returns empty lists if the car cannot support the feature.

Parameters
fanDirectionProfile: FanDirectionProfile

an object of FanDirectionProfile class containing information about the feature's supported values

onFanSpeedLevelProfileAvailable

Added in 1.3.0
fun onFanSpeedLevelProfileAvailable(
    fanSpeedLevelProfile: FanSpeedLevelProfile
): Unit

Notifies that the profile information for FEATURE_FAN_SPEED is available.

Applications will get a single callback containing a list of different fan speed levels for different groups of zones. Returns empty lists if the car cannot support the feature.

Parameters
fanSpeedLevelProfile: FanSpeedLevelProfile

an object of FanSpeedLevelProfile class containing information about the feature's supported values

onHvacAcProfileAvailable

Added in 1.3.0
fun onHvacAcProfileAvailable(hvacAcProfile: HvacAcProfile): Unit

Notifies that the profile information for FEATURE_HVAC_AC is available.

Applications will get multiple callbacks if the car climate system can control the HVAC AC mode independently in multiple zones. Returns an empty list if the car can not support the feature.

Parameters
hvacAcProfile: HvacAcProfile

an object of HvacAcProfile class containing information about the feature's supported zones

onHvacAutoModeProfileAvailable

Added in 1.3.0
fun onHvacAutoModeProfileAvailable(
    hvacAutoModeProfile: HvacAutoModeProfile
): Unit

Notifies that the profile information for FEATURE_HVAC_AUTO_MODE is available.

Applications will get multiple callbacks if the car climate system can control the HVAC AUTO mode independently in multiple zones. Returns an empty list if the car can not support the feature.

Parameters
hvacAutoModeProfile: HvacAutoModeProfile

an object of HvacAutoModeProfile class containing information about the feature's supported zones

onHvacAutoRecirculationProfileAvailable

Added in 1.3.0
fun onHvacAutoRecirculationProfileAvailable(
    hvacAutoRecirculationProfile: HvacAutoRecirculationProfile
): Unit

Notifies that the profile information for FEATURE_HVAC_AUTO_RECIRCULATION is available.

Applications will get multiple callbacks if the car climate system can control the HVAC AUTO recirculation independently in multiple zones. Returns an empty list if the car can not support the feature.

Parameters
hvacAutoRecirculationProfile: HvacAutoRecirculationProfile

an object of HvacAutoRecirculationProfile class containing information about the feature's supported zones

onHvacDualModeProfileAvailable

Added in 1.3.0
fun onHvacDualModeProfileAvailable(
    hvacDualModeProfile: HvacDualModeProfile
): Unit

Notifies that the profile information for FEATURE_HVAC_DUAL_MODE is available.

Applications will get multiple callbacks if the car climate system can control the HVAC DUAL mode independently in multiple zones. Returns an empty list if the car can not support the feature.

Parameters
hvacDualModeProfile: HvacDualModeProfile

an object of HvacDualModeProfile class containing information about the feature's supported zones

onHvacMaxAcModeProfileAvailable

Added in 1.3.0
fun onHvacMaxAcModeProfileAvailable(
    hvacMaxAcModeProfile: HvacMaxAcModeProfile
): Unit

Notifies that the profile information for FEATURE_HVAC_MAX_AC is available.

Applications will get multiple callbacks if the car climate system can control the HVAC MAX AC mode independently in multiple zones. Returns an empty list if the car can not support the feature.

Parameters
hvacMaxAcModeProfile: HvacMaxAcModeProfile

an object of HvacMaxAcModeProfile class containing information about the feature's supported zones

onHvacPowerProfileAvailable

Added in 1.3.0
fun onHvacPowerProfileAvailable(hvacPowerProfile: HvacPowerProfile): Unit

Notifies that the profile information for FEATURE_HVAC_POWER is available.

Applications will get multiple callbacks if the car climate system can control the HVAC power independently in multiple zones. Returns an empty list if the car can not support the feature.

Parameters
hvacPowerProfile: HvacPowerProfile

an object of HvacPowerProfile class containing information about the feature's supported zones

onHvacRecirculationProfileAvailable

Added in 1.3.0
fun onHvacRecirculationProfileAvailable(
    hvacRecirculationProfile: HvacRecirculationProfile
): Unit

Notifies that the profile information for FEATURE_HVAC_RECIRCULATION is available.

Applications will get multiple callbacks if the car climate system can control the HVAC recirculation independently in multiple zones. Returns an empty list if the car can not support the feature.

Parameters
hvacRecirculationProfile: HvacRecirculationProfile

an object of HvacRecirculationProfile class containing information about the feature's supported zones

onMaxDefrosterProfileAvailable

Added in 1.3.0
fun onMaxDefrosterProfileAvailable(
    maxDefrosterProfile: MaxDefrosterProfile
): Unit

Notifies that the profile information for FEATURE_HVAC_MAX_DEFROSTER is available.

Applications will get multiple callbacks if the car climate system can control the HVAC max defroster independently in multiple zones. Returns an empty list if the car can not support the feature.

A CarZone with CarZone#CAR_ZONE_ROW_FIRST indicates the front window. The rear window's zone will have row value as CarZone#CAR_ZONE_ROW_EXCLUDE_FIRST.

Parameters
maxDefrosterProfile: MaxDefrosterProfile

an object of MaxDefrosterProfile class containing information about the feature's supported zones

onSeatTemperatureLevelProfileAvailable

Added in 1.3.0
fun onSeatTemperatureLevelProfileAvailable(
    seatTemperatureProfile: SeatTemperatureProfile
): Unit

Notifies that the profile information for FEATURE_SEAT_TEMPERATURE_LEVEL is available.

Applications will get a single callback containing a list of different seat temperature levels for different groups of zones. Returns empty lists if the car cannot support the feature.

The return list can have negative and positive values. Negative values indicate cooling level. Positive values indicates heating level.

Parameters
seatTemperatureProfile: SeatTemperatureProfile

an object of SeatTemperatureProfile class containing information about the feature's supported values

onSeatVentilationLevelProfileAvailable

Added in 1.3.0
fun onSeatVentilationLevelProfileAvailable(
    seatVentilationProfile: SeatVentilationProfile
): Unit

Notifies that the profile information for FEATURE_SEAT_VENTILATION_LEVEL is available.

Applications will get a single callback containing a list of different seat ventilation levels for different groups of zones. Returns empty lists if the car cannot support the feature.

Parameters
seatVentilationProfile: SeatVentilationProfile

an object of SeatVentilationProfile class containing information about the feature's supported values

onSteeringWheelHeatProfileAvailable

Added in 1.3.0
fun onSteeringWheelHeatProfileAvailable(
    steeringWheelHeatProfile: SteeringWheelHeatProfile
): Unit

Notifies that the profile information for FEATURE_STEERING_WHEEL_HEAT is available.

Parameters
steeringWheelHeatProfile: SteeringWheelHeatProfile

an object of SteeringWheelHeatProfile class containing information about the feature's supported values