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
HMIPermissions

HMIPermissions Class Reference

Constructors

Instance Methods

Constructors

new HMIPermissions(parameters)

Initalizes an instance of HMIPermissions.

Instance Methods

hMIPermissions.getAllowed() ⇒ Array.<HMILevel>

Get the Allowed

Kind: Instance method of HMIPermissions
Returns: Array.<HMILevel> - the KEY_ALLOWED value

hMIPermissions.getUserDisallowed() ⇒ Array.<HMILevel>

Get the UserDisallowed

Kind: Instance method of HMIPermissions
Returns: Array.<HMILevel> - the KEY_USER_DISALLOWED value

hMIPermissions.setAllowed(allowed) ⇒ HMIPermissions

Set the Allowed

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

ParamTypeDescription
allowed Array.<HMILevel> A set of all HMI levels that are permitted for this given RPC. - The desired Allowed. {'array_min_size': 0, 'array_max_size': 100}

hMIPermissions.setUserDisallowed(disallowed) ⇒ HMIPermissions

Set the UserDisallowed

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

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