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
AppServiceCapability

AppServiceCapability Class Reference

Constructors

Instance Methods

Constructors

new AppServiceCapability(parameters)

Initializes an instance of AppServiceCapability.

Instance Methods

appServiceCapability.getUpdateReason() ⇒ ServiceUpdateReason

Get the UpdateReason

Kind: Instance method of AppServiceCapability
Returns: ServiceUpdateReason - the KEY_UPDATE_REASON value

appServiceCapability.getUpdatedAppServiceRecord() ⇒ AppServiceRecord

Get the UpdatedAppServiceRecord

Kind: Instance method of AppServiceCapability
Returns: AppServiceRecord - the KEY_UPDATED_APP_SERVICE_RECORD value

appServiceCapability.setUpdateReason(reason) ⇒ AppServiceCapability

Set the UpdateReason

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

ParamTypeDescription
reason ServiceUpdateReason Only included in OnSystemCapabilityUpdated. Update reason for service record. - The desired UpdateReason.

appServiceCapability.setUpdatedAppServiceRecord(record) ⇒ AppServiceCapability

Set the UpdatedAppServiceRecord

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

ParamTypeDescription
record AppServiceRecord Service record for a specific app service provider - The desired UpdatedAppServiceRecord.
View on GitHub.com
Previous Section Next Section