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
AppServiceData

AppServiceData Class Reference

Constructors

Instance Methods

Constructors

new AppServiceData(parameters)

Initializes an instance of AppServiceData.

Instance Methods

appServiceData.getMediaServiceData() ⇒ MediaServiceData

Get the MediaServiceData

Kind: Instance method of AppServiceData
Returns: MediaServiceData - the KEY_MEDIA_SERVICE_DATA value

appServiceData.getNavigationServiceData() ⇒ NavigationServiceData

Get the NavigationServiceData

Kind: Instance method of AppServiceData
Returns: NavigationServiceData - the KEY_NAVIGATION_SERVICE_DATA value

appServiceData.getServiceID() ⇒ String

Get the ServiceID

Kind: Instance method of AppServiceData
Returns: String - the KEY_SERVICE_ID value

appServiceData.getServiceType() ⇒ String

Get the ServiceType

Kind: Instance method of AppServiceData
Returns: String - the KEY_SERVICE_TYPE value

appServiceData.getWeatherServiceData() ⇒ WeatherServiceData

Get the WeatherServiceData

Kind: Instance method of AppServiceData
Returns: WeatherServiceData - the KEY_WEATHER_SERVICE_DATA value

appServiceData.setMediaServiceData(data) ⇒ AppServiceData

Set the MediaServiceData

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

ParamTypeDescription
data MediaServiceData This data is related to what a media service should provide - The desired MediaServiceData.

appServiceData.setNavigationServiceData(data) ⇒ AppServiceData

Set the NavigationServiceData

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

ParamTypeDescription
data NavigationServiceData This data is related to what a navigation service would provide. - The desired NavigationServiceData.

appServiceData.setServiceID(id) ⇒ AppServiceData

Set the ServiceID

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

ParamTypeDescription
id String The desired ServiceID. {'string_min_length': 1}

appServiceData.setServiceType(type) ⇒ AppServiceData

Set the ServiceType

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

ParamTypeDescription
type String The type of service that is to be offered by this app. See AppServiceType for known enum equivalent types. Parameter is a string to allow for new service types to be used by apps on older versions of SDL Core. - The desired ServiceType. {'string_min_length': 1}

appServiceData.setWeatherServiceData(data) ⇒ AppServiceData

Set the WeatherServiceData

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

ParamTypeDescription
data WeatherServiceData This data is related to what a weather service would provide - The desired WeatherServiceData.
View on GitHub.com
Previous Section Next Section