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
ModuleInfo

ModuleInfo Class Reference

Constructors

Instance Methods

Constructors

new ModuleInfo(parameters)

Initializes an instance of ModuleInfo.

Instance Methods

moduleInfo.getAllowMultipleAccess() ⇒ Boolean

Get the AllowMultipleAccess

Kind: Instance method of ModuleInfo
Returns: Boolean - the KEY_ALLOW_MULTIPLE_ACCESS value

moduleInfo.getLocation() ⇒ Grid

Get the Location

Kind: Instance method of ModuleInfo
Returns: Grid - the KEY_LOCATION value

moduleInfo.getModuleId() ⇒ String

Get the ModuleId

Kind: Instance method of ModuleInfo
Returns: String - the KEY_MODULE_ID value

moduleInfo.getServiceArea() ⇒ Grid

Get the ServiceArea

Kind: Instance method of ModuleInfo
Returns: Grid - the KEY_SERVICE_AREA value

moduleInfo.setAllowMultipleAccess(access) ⇒ ModuleInfo

Set the AllowMultipleAccess

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

ParamTypeDescription
access Boolean allow multiple users/apps to access the module or not - The desired AllowMultipleAccess. {'default_value': True}

moduleInfo.setLocation(location) ⇒ ModuleInfo

Set the Location

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

ParamTypeDescription
location Grid Location of a module. - The desired Location.

moduleInfo.setModuleId(id) ⇒ ModuleInfo

Set the ModuleId

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

ParamTypeDescription
id String UUID of a module. "moduleId + moduleType" uniquely identify a module. - The desired ModuleId. {'string_min_length': 1, 'string_max_length': 100}

moduleInfo.setServiceArea(area) ⇒ ModuleInfo

Set the ServiceArea

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

ParamTypeDescription
area Grid Service area of a module. - The desired ServiceArea.
View on GitHub.com
Previous Section Next Section