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
JavaScript Suite Documentation
AppCapability

AppCapability Class Reference

Constructors

Instance Methods

Constructors

new AppCapability(parameters)

Initializes an instance of AppCapability.

Instance Methods

appCapability.getAppCapabilityType() ⇒ AppCapabilityType

Get the AppCapabilityType

Kind: Instance method of AppCapability
Returns: AppCapabilityType - the KEY_APP_CAPABILITY_TYPE value

appCapability.getVideoStreamingCapability() ⇒ VideoStreamingCapability

Get the VideoStreamingCapability

Kind: Instance method of AppCapability
Returns: VideoStreamingCapability - the KEY_VIDEO_STREAMING_CAPABILITY value

appCapability.setAppCapabilityType(type) ⇒ AppCapability

Set the AppCapabilityType

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

ParamTypeDescription
type AppCapabilityType Used as a descriptor of what data to expect in this struct. The corresponding param to this enum should be included and the only other param included. - The desired AppCapabilityType.

appCapability.setVideoStreamingCapability(capability) ⇒ AppCapability

Set the VideoStreamingCapability

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

ParamTypeDescription
capability VideoStreamingCapability Describes supported capabilities for video streaming - The desired VideoStreamingCapability.
View on GitHub.com
Previous Section Next Section