Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
AppServiceData

AppServiceData Class Reference

Constructors

Instance Methods

Constructors

new AppServiceData(parameters)

Initalizes 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.

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 - The desired ServiceType. equivalent types. Parameter is a string to allow for new service types to be used by apps on older versions of SDL Core.

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