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
OnPermissionsChange

OnPermissionsChange Class Reference

Constructors

Instance Methods

Constructors

new OnPermissionsChange(parameters)

Initializes an instance of OnPermissionsChange.

Instance Methods

onPermissionsChange.getPermissionItem() ⇒ Array.<PermissionItem>

Get the PermissionItem

Kind: Instance method of OnPermissionsChange
Returns: Array.<PermissionItem> - the KEY_PERMISSION_ITEM value

onPermissionsChange.getRequireEncryption() ⇒ Boolean

Get the RequireEncryption

Kind: Instance method of OnPermissionsChange
Returns: Boolean - the KEY_REQUIRE_ENCRYPTION value

onPermissionsChange.setPermissionItem(item) ⇒ OnPermissionsChange

Set the PermissionItem

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

ParamTypeDescription
item Array.<PermissionItem> Change in permissions for a given set of RPCs - The desired PermissionItem. {'array_min_size': 0, 'array_max_size': 500}

onPermissionsChange.setRequireEncryption(encryption) ⇒ OnPermissionsChange

Set the RequireEncryption

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

ParamTypeDescription
encryption Boolean The desired RequireEncryption.
View on GitHub.com
Previous Section Next Section