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
DIDResult

DIDResult Class Reference

Constructors

Instance Methods

Constructors

new DIDResult(parameters)

Initializes an instance of DIDResult.

Instance Methods

dIDResult.getData() ⇒ String

Get the Data

Kind: Instance method of DIDResult
Returns: String - the KEY_DATA value

dIDResult.getDidLocation() ⇒ Number

Get the DidLocation

Kind: Instance method of DIDResult
Returns: Number - the KEY_DID_LOCATION value

dIDResult.getResultCode() ⇒ VehicleDataResultCode

Get the ResultCode

Kind: Instance method of DIDResult
Returns: VehicleDataResultCode - the KEY_RESULT_CODE value

dIDResult.setData(data) ⇒ DIDResult

Set the Data

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

ParamTypeDescription
data String Raw DID-based data returned for requested element. - The desired Data. {'string_min_length': 1, 'string_max_length': 5000}

dIDResult.setDidLocation(location) ⇒ DIDResult

Set the DidLocation

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

ParamTypeDescription
location Number Location of raw data from vehicle data DID - The desired DidLocation. {'num_min_value': 0, 'num_max_value': 65535}

dIDResult.setResultCode(code) ⇒ DIDResult

Set the ResultCode

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

ParamTypeDescription
code VehicleDataResultCode Individual DID result code. - The desired ResultCode.
View on GitHub.com
Previous Section Next Section