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
OnRCStatus

OnRCStatus Class Reference

Constructors

Instance Methods

Constructors

new OnRCStatus(parameters)

Initializes an instance of OnRCStatus.

Instance Methods

onRCStatus.getAllocatedModules() ⇒ Array.<ModuleData>

Get the AllocatedModules

Kind: Instance method of OnRCStatus
Returns: Array.<ModuleData> - the KEY_ALLOCATED_MODULES value

onRCStatus.getAllowed() ⇒ Boolean

Get the Allowed

Kind: Instance method of OnRCStatus
Returns: Boolean - the KEY_ALLOWED value

onRCStatus.getFreeModules() ⇒ Array.<ModuleData>

Get the FreeModules

Kind: Instance method of OnRCStatus
Returns: Array.<ModuleData> - the KEY_FREE_MODULES value

onRCStatus.setAllocatedModules(modules) ⇒ OnRCStatus

Set the AllocatedModules

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

ParamTypeDescription
modules Array.<ModuleData> Contains a list (zero or more) of module types that are allocated to the application. - The desired AllocatedModules. {'array_min_size': 0, 'array_max_size': 100}

onRCStatus.setAllowed(allowed) ⇒ OnRCStatus

Set the Allowed

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

ParamTypeDescription
allowed Boolean If "true" - RC is allowed; if "false" - RC is disallowed. - The desired Allowed.

onRCStatus.setFreeModules(modules) ⇒ OnRCStatus

Set the FreeModules

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

ParamTypeDescription
modules Array.<ModuleData> Contains a list (zero or more) of module types that are free to access for the application. - The desired FreeModules. {'array_min_size': 0, 'array_max_size': 100}
View on GitHub.com
Previous Section Next Section