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
GetInteriorVehicleData

GetInteriorVehicleData Class Reference

Constructors

Instance Methods

Constructors

new GetInteriorVehicleData(parameters)

Initializes an instance of GetInteriorVehicleData.

Instance Methods

getInteriorVehicleData.getModuleId() ⇒ String

Get the ModuleId

Kind: Instance method of GetInteriorVehicleData
Returns: String - the KEY_MODULE_ID value

getInteriorVehicleData.getModuleType() ⇒ ModuleType

Get the ModuleType

Kind: Instance method of GetInteriorVehicleData
Returns: ModuleType - the KEY_MODULE_TYPE value

getInteriorVehicleData.getSubscribe() ⇒ Boolean

Get the Subscribe

Kind: Instance method of GetInteriorVehicleData
Returns: Boolean - the KEY_SUBSCRIBE value

getInteriorVehicleData.setModuleId(id) ⇒ GetInteriorVehicleData

Set the ModuleId

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

ParamTypeDescription
id String Id of a module, published by System Capability. - The desired ModuleId. {'string_min_length': 1, 'string_max_length': 100}

getInteriorVehicleData.setModuleType(type) ⇒ GetInteriorVehicleData

Set the ModuleType

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

ParamTypeDescription
type ModuleType The type of an RC module to retrieve module data from the vehicle. In the future, this should be the Identification of a module. - The desired ModuleType.

getInteriorVehicleData.setSubscribe(subscribe) ⇒ GetInteriorVehicleData

Set the Subscribe

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

ParamTypeDescription
subscribe Boolean If subscribe is true, the head unit will register OnInteriorVehicleData notifications for the requested module (moduleId and moduleType). If subscribe is false, the head unit will unregister OnInteriorVehicleData notifications for the requested module (moduleId and moduleType). If subscribe is not included, the subscription status of the app for the requested module (moduleId and moduleType) will remain unchanged. - The desired Subscribe.
View on GitHub.com
Previous Section Next Section