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

OnAppServiceData Class Reference


Instance Methods


new OnAppServiceData(parameters)

Initializes an instance of OnAppServiceData.

Instance Methods

onAppServiceData.getServiceData() ⇒ AppServiceData

Get the ServiceData

Kind: Instance method of OnAppServiceData
Returns: AppServiceData - the KEY_SERVICE_DATA value

onAppServiceData.setServiceData(data) ⇒ OnAppServiceData

Set the ServiceData

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

data AppServiceData Contains all the current data of the app service. The serviceType will link to which of the service data objects are included in this object (e.g. if the service type is MEDIA, the mediaServiceData param should be included). - The desired ServiceData.
View on GitHub.com
Previous Section Next Section