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

SingleTireStatus Class Reference

Constructors

Instance Methods

Constructors

new SingleTireStatus(parameters)

Initializes an instance of SingleTireStatus.

Instance Methods

singleTireStatus.getPressure() ⇒ Number

Get the Pressure

Kind: Instance method of SingleTireStatus
Returns: Number - the KEY_PRESSURE value

singleTireStatus.getStatus() ⇒ ComponentVolumeStatus

Get the Status

Kind: Instance method of SingleTireStatus
Returns: ComponentVolumeStatus - the KEY_STATUS value

singleTireStatus.getTpms() ⇒ TPMS

Get the Tpms

Kind: Instance method of SingleTireStatus
Returns: TPMS - the KEY_TPMS value

singleTireStatus.setPressure(pressure) ⇒ SingleTireStatus

Set the Pressure

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

ParamTypeDescription
pressure Number The pressure value of the particular tire in kilo pascal. - The desired Pressure. {'num_min_value': 0.0, 'num_max_value': 2000.0}

singleTireStatus.setStatus(status) ⇒ SingleTireStatus

Set the Status

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

ParamTypeDescription
status ComponentVolumeStatus See ComponentVolumeStatus. - The desired Status.

singleTireStatus.setTpms(tpms) ⇒ SingleTireStatus

Set the Tpms

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

ParamTypeDescription
tpms TPMS The status of TPMS according to the particular tire. - The desired Tpms.
View on GitHub.com