CarClimateProfileCallback
@CarProtocol
@RequiresCarApi(value = 5)
public interface CarClimateProfileCallback
A callback for the car climate profiles returned from the car hardware, for example, Fan speed, Temperature etc.
Summary
Public methods |
|
|---|---|
default void |
onCabinTemperatureProfileAvailable(Notifies that the profile information for |
default void |
onCarZoneMappingInfoProfileAvailable(Notifies that the profile information for |
default void |
onDefrosterProfileAvailable(@NonNull DefrosterProfile defrosterProfile)Notifies that the profile information for |
default void |
onElectricDefrosterProfileAvailable(Notifies that the profile information for |
default void |
onFanDirectionProfileAvailable(Notifies that the profile information for |
default void |
onFanSpeedLevelProfileAvailable(Notifies that the profile information for |
default void |
onHvacAcProfileAvailable(@NonNull HvacAcProfile hvacAcProfile)Notifies that the profile information for |
default void |
onHvacAutoModeProfileAvailable(Notifies that the profile information for |
default void |
onHvacAutoRecirculationProfileAvailable(Notifies that the profile information for |
default void |
onHvacDualModeProfileAvailable(Notifies that the profile information for |
default void |
onHvacMaxAcModeProfileAvailable(Notifies that the profile information for |
default void |
onHvacPowerProfileAvailable(@NonNull HvacPowerProfile hvacPowerProfile)Notifies that the profile information for |
default void |
onHvacRecirculationProfileAvailable(Notifies that the profile information for |
default void |
onMaxDefrosterProfileAvailable(Notifies that the profile information for |
default void |
onSeatTemperatureLevelProfileAvailable(Notifies that the profile information for |
default void |
onSeatVentilationLevelProfileAvailable(Notifies that the profile information for |
default void |
onSteeringWheelHeatProfileAvailable(Notifies that the profile information for |
Public methods
onCabinTemperatureProfileAvailable
default void onCabinTemperatureProfileAvailable(
@NonNull CabinTemperatureProfile cabinTemperatureProfile
)
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 | |
|---|---|
@NonNull CabinTemperatureProfile cabinTemperatureProfile |
an object of |
onCarZoneMappingInfoProfileAvailable
default void onCarZoneMappingInfoProfileAvailable(
@NonNull CarZoneMappingInfoProfile carZoneMappingInfoProfile
)
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 | |
|---|---|
@NonNull CarZoneMappingInfoProfile carZoneMappingInfoProfile |
an object of |
onDefrosterProfileAvailable
default void onDefrosterProfileAvailable(@NonNull DefrosterProfile defrosterProfile)
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 | |
|---|---|
@NonNull DefrosterProfile defrosterProfile |
an object of |
onElectricDefrosterProfileAvailable
default void onElectricDefrosterProfileAvailable(
@NonNull ElectricDefrosterProfile electricDefrosterProfile
)
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 | |
|---|---|
@NonNull ElectricDefrosterProfile electricDefrosterProfile |
an object of |
onFanDirectionProfileAvailable
default void onFanDirectionProfileAvailable(
@NonNull FanDirectionProfile fanDirectionProfile
)
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 | |
|---|---|
@NonNull FanDirectionProfile fanDirectionProfile |
an object of |
onFanSpeedLevelProfileAvailable
default void onFanSpeedLevelProfileAvailable(
@NonNull FanSpeedLevelProfile fanSpeedLevelProfile
)
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 | |
|---|---|
@NonNull FanSpeedLevelProfile fanSpeedLevelProfile |
an object of |
onHvacAcProfileAvailable
default void onHvacAcProfileAvailable(@NonNull HvacAcProfile hvacAcProfile)
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 | |
|---|---|
@NonNull HvacAcProfile hvacAcProfile |
an object of |
onHvacAutoModeProfileAvailable
default void onHvacAutoModeProfileAvailable(
@NonNull HvacAutoModeProfile hvacAutoModeProfile
)
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 | |
|---|---|
@NonNull HvacAutoModeProfile hvacAutoModeProfile |
an object of |
onHvacAutoRecirculationProfileAvailable
default void onHvacAutoRecirculationProfileAvailable(
@NonNull HvacAutoRecirculationProfile hvacAutoRecirculationProfile
)
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 | |
|---|---|
@NonNull HvacAutoRecirculationProfile hvacAutoRecirculationProfile |
an object of |
onHvacDualModeProfileAvailable
default void onHvacDualModeProfileAvailable(
@NonNull HvacDualModeProfile hvacDualModeProfile
)
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 | |
|---|---|
@NonNull HvacDualModeProfile hvacDualModeProfile |
an object of |
onHvacMaxAcModeProfileAvailable
default void onHvacMaxAcModeProfileAvailable(
@NonNull HvacMaxAcModeProfile hvacMaxAcModeProfile
)
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 | |
|---|---|
@NonNull HvacMaxAcModeProfile hvacMaxAcModeProfile |
an object of |
onHvacPowerProfileAvailable
default void onHvacPowerProfileAvailable(@NonNull HvacPowerProfile hvacPowerProfile)
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 | |
|---|---|
@NonNull HvacPowerProfile hvacPowerProfile |
an object of |
onHvacRecirculationProfileAvailable
default void onHvacRecirculationProfileAvailable(
@NonNull HvacRecirculationProfile hvacRecirculationProfile
)
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 | |
|---|---|
@NonNull HvacRecirculationProfile hvacRecirculationProfile |
an object of |
onMaxDefrosterProfileAvailable
default void onMaxDefrosterProfileAvailable(
@NonNull MaxDefrosterProfile maxDefrosterProfile
)
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 | |
|---|---|
@NonNull MaxDefrosterProfile maxDefrosterProfile |
an object of |
onSeatTemperatureLevelProfileAvailable
default void onSeatTemperatureLevelProfileAvailable(
@NonNull SeatTemperatureProfile seatTemperatureProfile
)
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 | |
|---|---|
@NonNull SeatTemperatureProfile seatTemperatureProfile |
an object of |
onSeatVentilationLevelProfileAvailable
default void onSeatVentilationLevelProfileAvailable(
@NonNull SeatVentilationProfile seatVentilationProfile
)
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 | |
|---|---|
@NonNull SeatVentilationProfile seatVentilationProfile |
an object of |
onSteeringWheelHeatProfileAvailable
default void onSteeringWheelHeatProfileAvailable(
@NonNull SteeringWheelHeatProfile steeringWheelHeatProfile
)
Notifies that the profile information for FEATURE_STEERING_WHEEL_HEAT is available.
| Parameters | |
|---|---|
@NonNull SteeringWheelHeatProfile steeringWheelHeatProfile |
an object of |