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

GetSystemCapability Class Reference

Constructors

Instance Methods

Constructors

new GetSystemCapability(parameters)

Initializes an instance of GetSystemCapability.

Instance Methods

getSystemCapability.getSubscribe() ⇒ Boolean

Get the Subscribe

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

getSystemCapability.getSystemCapabilityType() ⇒ SystemCapabilityType

Get the SystemCapabilityType

Kind: Instance method of GetSystemCapability
Returns: SystemCapabilityType - the KEY_SYSTEM_CAPABILITY_TYPE value

getSystemCapability.setSubscribe(subscribe) ⇒ GetSystemCapability

Set the Subscribe

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

ParamTypeDescription
subscribe Boolean Flag to subscribe to updates of the supplied service capability type. If true, the requester will be subscribed. If false, the requester will not be subscribed and be removed as a subscriber if it was previously subscribed. - The desired Subscribe.

getSystemCapability.setSystemCapabilityType(type) ⇒ GetSystemCapability

Set the SystemCapabilityType

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

ParamTypeDescription
type SystemCapabilityType The type of system capability to get more information on - The desired SystemCapabilityType.
View on GitHub.com