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
EqualizerSettings

EqualizerSettings Class Reference

Constructors

Instance Methods

Constructors

new EqualizerSettings(parameters)

Initializes an instance of EqualizerSettings.

Instance Methods

equalizerSettings.getChannelId() ⇒ Number

Get the ChannelId

Kind: Instance method of EqualizerSettings
Returns: Number - the KEY_CHANNEL_ID value

equalizerSettings.getChannelName() ⇒ String

Get the ChannelName

Kind: Instance method of EqualizerSettings
Returns: String - the KEY_CHANNEL_NAME value

equalizerSettings.getChannelSetting() ⇒ Number

Get the ChannelSetting

Kind: Instance method of EqualizerSettings
Returns: Number - the KEY_CHANNEL_SETTING value

equalizerSettings.setChannelId(id) ⇒ EqualizerSettings

Set the ChannelId

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

ParamTypeDescription
id Number The desired ChannelId. {'num_min_value': 1, 'num_max_value': 100}

equalizerSettings.setChannelName(name) ⇒ EqualizerSettings

Set the ChannelName

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

ParamTypeDescription
name String read-only channel / frequency name (e.i. "Treble, Midrange, Bass" or "125 Hz") - The desired ChannelName. {'string_min_length': 1, 'string_max_length': 50}

equalizerSettings.setChannelSetting(setting) ⇒ EqualizerSettings

Set the ChannelSetting

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

ParamTypeDescription
setting Number Reflects the setting, from 0%-100%. - The desired ChannelSetting. {'num_min_value': 0, 'num_max_value': 100}
View on GitHub.com
Previous Section Next Section