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

GetAppServiceData Class Reference

Constructors

Instance Methods

Constructors

new GetAppServiceData(parameters)

Initalizes an instance of GetAppServiceData.

Instance Methods

getAppServiceData.getServiceType() ⇒ String

Get the ServiceType

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

getAppServiceData.getSubscribe() ⇒ Boolean

Get the Subscribe

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

getAppServiceData.setServiceType(type) ⇒ GetAppServiceData

Set the ServiceType

Kind: Instance method of GetAppServiceData
Returns: GetAppServiceData - 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.

getAppServiceData.setSubscribe(subscribe) ⇒ GetAppServiceData

Set the Subscribe

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

ParamTypeDescription
subscribe Boolean If true, the consumer is requesting to subscribe to all future updates from the - The desired Subscribe. service publisher. If false, the consumer doesn't wish to subscribe and should be unsubscribed if it was previously subscribed.
View on GitHub.com
Previous Section Next Section