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
Documentation
VehicleDataResult

VehicleDataResult Class Reference

Constructors

Instance Methods

Constructors

new VehicleDataResult(parameters)

Initalizes an instance of VehicleDataResult.

Instance Methods

vehicleDataResult.getDataType() ⇒ VehicleDataType

Get the DataType

Kind: Instance method of VehicleDataResult
Returns: VehicleDataType - the KEY_DATA_TYPE value

vehicleDataResult.getOemCustomDataType() ⇒ String

Get the OemCustomDataType

Kind: Instance method of VehicleDataResult
Returns: String - the KEY_OEM_CUSTOM_DATA_TYPE value

vehicleDataResult.getResultCode() ⇒ VehicleDataResultCode

Get the ResultCode

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

vehicleDataResult.setDataType(type) ⇒ VehicleDataResult

Set the DataType

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

ParamTypeDescription
type VehicleDataType Defined published data element type. - The desired DataType.

vehicleDataResult.setOemCustomDataType(type) ⇒ VehicleDataResult

Set the OemCustomDataType

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

ParamTypeDescription
type String Type of requested oem specific parameter - The desired OemCustomDataType. {'string_min_length': 1}

vehicleDataResult.setResultCode(code) ⇒ VehicleDataResult

Set the ResultCode

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

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