ClimateProfileRequest

@CarProtocol
@RequiresCarApi(value = 5)
@ExperimentalCarApi
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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

const Int

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

Public functions

Boolean
equals(o: Any!)
(Mutable)Set<Int!>

Returns a set of all possible CarClimateFeatures.

(Mutable)List<CarClimateFeature!>

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

Int
String

Constants

FEATURE_CABIN_TEMPERATURE

Added in 1.3.0
const val FEATURE_CABIN_TEMPERATURE = 4: Int

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
const val FEATURE_CAR_ZONE_MAPPING = 17: Int

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
const val FEATURE_FAN_DIRECTION = 6: Int

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
const val FEATURE_FAN_SPEED = 5: Int

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
const val FEATURE_HVAC_AC = 2: Int

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
const val FEATURE_HVAC_AUTO_MODE = 12: Int

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
const val FEATURE_HVAC_AUTO_RECIRCULATION = 11: Int

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
const val FEATURE_HVAC_DEFROSTER = 14: Int

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
const val FEATURE_HVAC_DUAL_MODE = 13: Int

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
const val FEATURE_HVAC_ELECTRIC_DEFROSTER = 16: Int

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
const val FEATURE_HVAC_MAX_AC = 3: Int

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
const val FEATURE_HVAC_MAX_DEFROSTER = 15: Int

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
const val FEATURE_HVAC_POWER = 1: Int

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
const val FEATURE_HVAC_RECIRCULATION = 10: Int

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
const val FEATURE_SEAT_TEMPERATURE_LEVEL = 7: Int

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
const val FEATURE_SEAT_VENTILATION_LEVEL = 8: Int

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
const val FEATURE_STEERING_WHEEL_HEAT = 9: Int

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

Public functions

equals

Added in 1.4.0-rc02
fun equals(o: Any!): Boolean

getAllClimateProfiles

Added in 1.3.0
fun getAllClimateProfiles(): (Mutable)Set<Int!>

Returns a set of all possible CarClimateFeatures.

getClimateProfileFeatures

Added in 1.3.0
fun getClimateProfileFeatures(): (Mutable)List<CarClimateFeature!>

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

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int

toString

Added in 1.4.0-rc02
fun toString(): String