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
JavaScript Suite Documentation
ClimateData

ClimateData Class Reference

Constructors

Instance Methods

Constructors

new ClimateData(parameters)

Initializes an instance of ClimateData.

Instance Methods

climateData.getAtmosphericPressure() ⇒ Number

Get the AtmosphericPressure

Kind: Instance method of ClimateData
Returns: Number - the KEY_ATMOSPHERIC_PRESSURE value

climateData.getCabinTemperature() ⇒ Temperature

Get the CabinTemperature

Kind: Instance method of ClimateData
Returns: Temperature - the KEY_CABIN_TEMPERATURE value

climateData.getExternalTemperature() ⇒ Temperature

Get the ExternalTemperature

Kind: Instance method of ClimateData
Returns: Temperature - the KEY_EXTERNAL_TEMPERATURE value

climateData.setAtmosphericPressure(pressure) ⇒ ClimateData

Set the AtmosphericPressure

Kind: Instance method of ClimateData
Returns: ClimateData - The class instance for method chaining.

ParamTypeDescription
pressure Number Current atmospheric pressure in mBar - The desired AtmosphericPressure. {'num_min_value': 0.0, 'num_max_value': 2000.0}

climateData.setCabinTemperature(temperature) ⇒ ClimateData

Set the CabinTemperature

Kind: Instance method of ClimateData
Returns: ClimateData - The class instance for method chaining.

ParamTypeDescription
temperature Temperature Internal ambient cabin temperature in degrees celsius - The desired CabinTemperature.

climateData.setExternalTemperature(temperature) ⇒ ClimateData

Set the ExternalTemperature

Kind: Instance method of ClimateData
Returns: ClimateData - The class instance for method chaining.

ParamTypeDescription
temperature Temperature The external temperature in degrees celsius - The desired ExternalTemperature.
View on GitHub.com
Previous Section Next Section