Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLClimateControlData

SDLClimateControlData Class Reference

Section Contents

Overview

The current information for the Climate Remote Control Module

-initWithFanSpeed:desiredTemperature:acEnable:circulateAirEnable:autoModeEnable:defrostZone:dualModeEnable:acMaxEnable:ventilationMode:heatedSteeringWheelEnable:heatedWindshieldEnable:heatedRearWindowEnable:heatedMirrorsEnable:climateEnable:

Convenience init for climate control data with all properties.

Objective-C

- (nonnull instancetype)
             initWithFanSpeed:(nullable NSNumber<SDLInt> *)fanSpeed
           desiredTemperature:(nullable SDLTemperature *)desiredTemperature
                     acEnable:(nullable NSNumber<SDLBool> *)acEnable
           circulateAirEnable:(nullable NSNumber<SDLBool> *)circulateAirEnable
               autoModeEnable:(nullable NSNumber<SDLBool> *)autoModeEnable
                  defrostZone:(nullable SDLDefrostZone)defrostZone
               dualModeEnable:(nullable NSNumber<SDLBool> *)dualModeEnable
                  acMaxEnable:(nullable NSNumber<SDLBool> *)acMaxEnable
              ventilationMode:(nullable SDLVentilationMode)ventilationMode
    heatedSteeringWheelEnable:
        (nullable NSNumber<SDLBool> *)heatedSteeringWheelEnable
       heatedWindshieldEnable:
           (nullable NSNumber<SDLBool> *)heatedWindshieldEnable
       heatedRearWindowEnable:
           (nullable NSNumber<SDLBool> *)heatedRearWindowEnable
          heatedMirrorsEnable:(nullable NSNumber<SDLBool> *)heatedMirrorsEnable
                climateEnable:(nullable NSNumber<SDLBool> *)climateEnable;

Swift

init(fanSpeed: (NSNumber & SDLInt)?, desiredTemperature: SDLTemperature?, acEnable: (NSNumber & SDLBool)?, circulateAirEnable: (NSNumber & SDLBool)?, autoModeEnable: (NSNumber & SDLBool)?, defrostZone: SDLDefrostZone?, dualModeEnable: (NSNumber & SDLBool)?, acMaxEnable: (NSNumber & SDLBool)?, ventilationMode: SDLVentilationMode?, heatedSteeringWheelEnable: (NSNumber & SDLBool)?, heatedWindshieldEnable: (NSNumber & SDLBool)?, heatedRearWindowEnable: (NSNumber & SDLBool)?, heatedMirrorsEnable: (NSNumber & SDLBool)?, climateEnable: (NSNumber & SDLBool)?)

Parameters

fanSpeed

Speed of Fan in integer

desiredTemperature

Desired Temperature in SDLTemperature

acEnable

Represents if AC is enabled

circulateAirEnable

Represents if circulation of air is enabled

autoModeEnable

Represents if auto mode is enabled

defrostZone

Represents the kind of defrost zone

dualModeEnable

Represents if dual mode is enabled

acMaxEnable

Represents if ac max is enabled

ventilationMode

Represents the kind of ventilation zone

heatedSteeringWheelEnable

Represents if heated steering wheel is enabled

heatedWindshieldEnable

Represents if heated windshield is enabled

heatedRearWindowEnable

Represents if heated rear window is enabled

heatedMirrorsEnable

Represents if heated mirrors are enabled

climateEnable

Represents if climate is enabled

Return Value

An SDLClimateControlData object

fanSpeed

Speed of Fan in integer

Optional, MinValue- 0 MaxValue= 100

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLInt> *fanSpeed;

Swift

var fanSpeed: (NSNumber & SDLInt)? { get set }

currentTemperature

The Current Temperature in SDLTemperature

Warning

This property is readonly and cannot be set on the module.

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLTemperature *currentTemperature;

Swift

var currentTemperature: SDLTemperature? { get set }

desiredTemperature

Desired Temperature in SDLTemperature

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLTemperature *desiredTemperature;

Swift

var desiredTemperature: SDLTemperature? { get set }

acEnable

Represents if AC is enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *acEnable;

Swift

var acEnable: (NSNumber & SDLBool)? { get set }

circulateAirEnable

Represents if circulation of air is enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *circulateAirEnable;

Swift

var circulateAirEnable: (NSNumber & SDLBool)? { get set }

autoModeEnable

Represents if auto mode is enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *autoModeEnable;

Swift

var autoModeEnable: (NSNumber & SDLBool)? { get set }

defrostZone

Represents the kind of defrost zone.

Optional, SDLDefrostZone

Objective-C

@property (nonatomic, strong, nullable) SDLDefrostZone defrostZone;

Swift

var defrostZone: SDLDefrostZone? { get set }

dualModeEnable

Represents if dual mode is enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *dualModeEnable;

Swift

var dualModeEnable: (NSNumber & SDLBool)? { get set }

acMaxEnable

Represents if ac max is enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *acMaxEnable;

Swift

var acMaxEnable: (NSNumber & SDLBool)? { get set }

ventilationMode

Represents the kind of Ventilation zone.

Optional, SDLVentilationMode

Objective-C

@property (nonatomic, strong, nullable) SDLVentilationMode ventilationMode;

Swift

var ventilationMode: SDLVentilationMode? { get set }

heatedSteeringWheelEnable

@abstract value false means disabled/turn off, value true means enabled/turn on.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *heatedSteeringWheelEnable;

Swift

var heatedSteeringWheelEnable: (NSNumber & SDLBool)? { get set }

heatedWindshieldEnable

@abstract value false means disabled, value true means enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *heatedWindshieldEnable;

Swift

var heatedWindshieldEnable: (NSNumber & SDLBool)? { get set }

heatedRearWindowEnable

@abstract value false means disabled, value true means enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *heatedRearWindowEnable;

Swift

var heatedRearWindowEnable: (NSNumber & SDLBool)? { get set }

heatedMirrorsEnable

@abstract Value false means disabled, value true means enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *heatedMirrorsEnable;

Swift

var heatedMirrorsEnable: (NSNumber & SDLBool)? { get set }

climateEnable

@abstract Value false means disabled, value true means enabled.

Optional, Boolean

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *climateEnable;

Swift

var climateEnable: (NSNumber & SDLBool)? { get set }
View on GitHub.com
Previous Section Next Section