ClimateProfileRequest
@CarProtocol
@RequiresCarApi(value = 5)
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 |
|---|
public final class ClimateProfileRequest.BuilderA builder of |
Constants |
|
|---|---|
static final int |
Adding this feature flag, the application will get the profile information of cabin temperature in the car by |
static final int |
Adding this feature flag, the application will get the profile information of car zone mapping in the car by |
static final int |
Adding this feature flag, the application will get the profile information of climate fan directions in the car by |
static final int |
Adding this feature flag, the application will get the profile information of climate fan speed level in the car by |
static final int |
FEATURE_HVAC_AC = 2Adding this feature flag, the application will get the profile information of HVAC AC in the car by |
static final int |
Adding this feature flag, the application will get the profile information of HVAC AUTO mode in the car by |
static final int |
Adding this feature flag, the application will get the profile information of HVAC AUTO recirculation mode in the car by |
static final int |
Adding this feature flag, the application will get the profile information of defroster in the car by |
static final int |
Adding this feature flag, the application will get the profile information of HVAC DUAL mode in the car by |
static final int |
Adding this feature flag, the application will get the profile information of HVAC electric defroster in the car by |
static final int |
Adding this feature flag, the application will get the profile information of HVAC MAX AC in the car by |
static final int |
Adding this feature flag, the application will get the profile information of HVAC MAX defroster mode in the car by |
static final int |
Adding this feature flag, the application will get the profile information of HVAC power in the car by |
static final int |
Adding this feature flag, the application will get the profile information of HVAC recirculation mode in the car by |
static final int |
Adding this feature flag, the application will get the profile information of seat temperature levels in the car by |
static final int |
Adding this feature flag, the application will get the profile information of seat ventilation levels in the car by |
static final int |
Adding this feature flag, the application will get the profile information of steering wheel heat in the car by |
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 |
hashCode() |
@NonNull String |
toString() |
Constants
FEATURE_CABIN_TEMPERATURE
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
getAllClimateProfiles
public @NonNull Set<Integer> getAllClimateProfiles()
Returns a set of all possible CarClimateFeatures.
getClimateProfileFeatures
public @NonNull List<CarClimateFeature> getClimateProfileFeatures()
Returns a list of CarClimateFeatures which are included in this request.