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
Android Documentation
ClimateData

Class ClimateData

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Parameter List

Param Name Type Description Required Notes Version Available
externalTemperature Temperature The external temperature in degrees celsius N
cabinTemperature Temperature Internal ambient cabin temperature in degrees celsius N
atmosphericPressure Float Current atmospheric pressure in mBar N {"num_min_value": 0.0, "num_max_value": 2000.0}

Fields

KEY_EXTERNAL_TEMPERATURE

public static final java.lang.String KEY_EXTERNAL_TEMPERATURE
Constant Value
"externalTemperature"

KEY_CABIN_TEMPERATURE

public static final java.lang.String KEY_CABIN_TEMPERATURE
Constant Value
"cabinTemperature"

KEY_ATMOSPHERIC_PRESSURE

public static final java.lang.String KEY_ATMOSPHERIC_PRESSURE
Constant Value
"atmosphericPressure"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

ClimateData()

Constructs a new ClimateData object

public ClimateData()

ClimateData( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new ClimateData object indicated by the Hashtable parameter

public ClimateData(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

Methods

setExternalTemperature( Temperature externalTemperature )

Sets the externalTemperature.

public com.smartdevicelink.proxy.rpc.ClimateData setExternalTemperature(Temperature externalTemperature)

Method Parameters

externalTemperature
The external temperature in degrees celsius

getExternalTemperature()

Gets the externalTemperature.

public com.smartdevicelink.proxy.rpc.Temperature getExternalTemperature()

setCabinTemperature( Temperature cabinTemperature )

Sets the cabinTemperature.

public com.smartdevicelink.proxy.rpc.ClimateData setCabinTemperature(Temperature cabinTemperature)

Method Parameters

cabinTemperature
Internal ambient cabin temperature in degrees celsius

getCabinTemperature()

Gets the cabinTemperature.

public com.smartdevicelink.proxy.rpc.Temperature getCabinTemperature()

setAtmosphericPressure( Float atmosphericPressure )

Sets the atmosphericPressure.

public com.smartdevicelink.proxy.rpc.ClimateData setAtmosphericPressure(Float atmosphericPressure)

Method Parameters

atmosphericPressure
Current atmospheric pressure in mBar {"num_min_value": 0.0, "num_max_value": 2000.0}

getAtmosphericPressure()

Gets the atmosphericPressure.

public java.lang.Float getAtmosphericPressure()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section