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
Documentation
ParameterPermissions

ParameterPermissions Class Reference

Constructors

Instance Methods

Constructors

new ParameterPermissions(parameters)

Initalizes an instance of ParameterPermissions.

Instance Methods

parameterPermissions.getAllowed() ⇒ Array.<String>

Get the Allowed

Kind: Instance method of ParameterPermissions
Returns: Array.<String> - the KEY_ALLOWED value

parameterPermissions.getUserDisallowed() ⇒ Array.<String>

Get the UserDisallowed

Kind: Instance method of ParameterPermissions
Returns: Array.<String> - the KEY_USER_DISALLOWED value

parameterPermissions.setAllowed(allowed) ⇒ ParameterPermissions

Set the Allowed

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

ParamTypeDescription
allowed Array.<String> A set of all parameters that are permitted for this given RPC. - The desired Allowed. {'array_min_size': 0, 'array_max_size': 100, 'string_min_length': 1, 'string_max_length': 100}

parameterPermissions.setUserDisallowed(disallowed) ⇒ ParameterPermissions

Set the UserDisallowed

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

ParamTypeDescription
disallowed Array.<String> A set of all parameters that are prohibited for this given RPC. - The desired UserDisallowed. {'array_min_size': 0, 'array_max_size': 100, 'string_min_length': 1, 'string_max_length': 100}
View on GitHub.com
Previous Section Next Section