ClimateProfileRequest


@CarProtocol
@RequiresCarApi(value = 5)
@ExperimentalCarApi
public final class ClimateProfileRequest


Allows specification of a request for fetching the climate profile information using integer flags and car zones.

A climate profile comprises of certain features of a car such as HVAC power, fan direction, etc of a car the information of which can be requested for particular car zones through this class.

Applications need to use Builder to create a ClimateProfileRequest.

Summary

Nested types

A builder of ClimateProfileRequest.

Constants

static final int

Adding this feature flag, the application will get the profile information of cabin temperature in the car by onCabinTemperatureProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of car zone mapping in the car by onCarZoneMappingInfoProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of climate fan directions in the car by onFanDirectionProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of climate fan speed level in the car by onFanSpeedLevelProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC AC in the car by onHvacAcProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC AUTO mode in the car by onHvacAutoModeProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC AUTO recirculation mode in the car by onHvacAutoRecirculationProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of defroster in the car by onDefrosterProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC DUAL mode in the car by onHvacDualModeProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC electric defroster in the car by onElectricDefrosterProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC MAX AC in the car by onHvacMaxAcModeProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC MAX defroster mode in the car by onMaxDefrosterProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC power in the car by onHvacPowerProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of HVAC recirculation mode in the car by onHvacRecirculationProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of seat temperature levels in the car by onSeatTemperatureLevelProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of seat ventilation levels in the car by onSeatVentilationLevelProfileAvailable.

static final int

Adding this feature flag, the application will get the profile information of steering wheel heat in the car by onSteeringWheelHeatProfileAvailable.

Public methods

boolean
@NonNull Set<Integer>

Returns a set of all possible CarClimateFeatures.

@NonNull List<CarClimateFeature>

Returns a list of CarClimateFeatures which are included in this request.

int
@NonNull String

Constants

FEATURE_CABIN_TEMPERATURE

Added in 1.3.0
public static final int FEATURE_CABIN_TEMPERATURE = 4

Adding this feature flag, the application will get the profile information of cabin temperature in the car by onCabinTemperatureProfileAvailable.

FEATURE_CAR_ZONE_MAPPING

Added in 1.3.0
public static final int FEATURE_CAR_ZONE_MAPPING = 17

Adding this feature flag, the application will get the profile information of car zone mapping in the car by onCarZoneMappingInfoProfileAvailable.

FEATURE_FAN_DIRECTION

Added in 1.3.0
public static final int FEATURE_FAN_DIRECTION = 6

Adding this feature flag, the application will get the profile information of climate fan directions in the car by onFanDirectionProfileAvailable.

FEATURE_FAN_SPEED

Added in 1.3.0
public static final int FEATURE_FAN_SPEED = 5

Adding this feature flag, the application will get the profile information of climate fan speed level in the car by onFanSpeedLevelProfileAvailable.

FEATURE_HVAC_AC

Added in 1.3.0
public static final int FEATURE_HVAC_AC = 2

Adding this feature flag, the application will get the profile information of HVAC AC in the car by onHvacAcProfileAvailable.

FEATURE_HVAC_AUTO_MODE

Added in 1.3.0
public static final int FEATURE_HVAC_AUTO_MODE = 12

Adding this feature flag, the application will get the profile information of HVAC AUTO mode in the car by onHvacAutoModeProfileAvailable.

FEATURE_HVAC_AUTO_RECIRCULATION

Added in 1.3.0
public static final int FEATURE_HVAC_AUTO_RECIRCULATION = 11

Adding this feature flag, the application will get the profile information of HVAC AUTO recirculation mode in the car by onHvacAutoRecirculationProfileAvailable.

FEATURE_HVAC_DEFROSTER

Added in 1.3.0
public static final int FEATURE_HVAC_DEFROSTER = 14

Adding this feature flag, the application will get the profile information of defroster in the car by onDefrosterProfileAvailable.

FEATURE_HVAC_DUAL_MODE

Added in 1.3.0
public static final int FEATURE_HVAC_DUAL_MODE = 13

Adding this feature flag, the application will get the profile information of HVAC DUAL mode in the car by onHvacDualModeProfileAvailable.

FEATURE_HVAC_ELECTRIC_DEFROSTER

Added in 1.3.0
public static final int FEATURE_HVAC_ELECTRIC_DEFROSTER = 16

Adding this feature flag, the application will get the profile information of HVAC electric defroster in the car by onElectricDefrosterProfileAvailable.

FEATURE_HVAC_MAX_AC

Added in 1.3.0
public static final int FEATURE_HVAC_MAX_AC = 3

Adding this feature flag, the application will get the profile information of HVAC MAX AC in the car by onHvacMaxAcModeProfileAvailable.

FEATURE_HVAC_MAX_DEFROSTER

Added in 1.3.0
public static final int FEATURE_HVAC_MAX_DEFROSTER = 15

Adding this feature flag, the application will get the profile information of HVAC MAX defroster mode in the car by onMaxDefrosterProfileAvailable.

FEATURE_HVAC_POWER

Added in 1.3.0
public static final int FEATURE_HVAC_POWER = 1

Adding this feature flag, the application will get the profile information of HVAC power in the car by onHvacPowerProfileAvailable.

FEATURE_HVAC_RECIRCULATION

Added in 1.3.0
public static final int FEATURE_HVAC_RECIRCULATION = 10

Adding this feature flag, the application will get the profile information of HVAC recirculation mode in the car by onHvacRecirculationProfileAvailable.

FEATURE_SEAT_TEMPERATURE_LEVEL

Added in 1.3.0
public static final int FEATURE_SEAT_TEMPERATURE_LEVEL = 7

Adding this feature flag, the application will get the profile information of seat temperature levels in the car by onSeatTemperatureLevelProfileAvailable.

FEATURE_SEAT_VENTILATION_LEVEL

Added in 1.3.0
public static final int FEATURE_SEAT_VENTILATION_LEVEL = 8

Adding this feature flag, the application will get the profile information of seat ventilation levels in the car by onSeatVentilationLevelProfileAvailable.

FEATURE_STEERING_WHEEL_HEAT

Added in 1.3.0
public static final int FEATURE_STEERING_WHEEL_HEAT = 9

Adding this feature flag, the application will get the profile information of steering wheel heat in the car by onSteeringWheelHeatProfileAvailable.

Public methods

equals

public boolean equals(Object o)

getAllClimateProfiles

Added in 1.3.0
public @NonNull Set<IntegergetAllClimateProfiles()

Returns a set of all possible CarClimateFeatures.

getClimateProfileFeatures

Added in 1.3.0
public @NonNull List<CarClimateFeaturegetClimateProfileFeatures()

Returns a list of CarClimateFeatures which are included in this request.

hashCode

public int hashCode()

toString

public @NonNull String toString()