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
Android Documentation
EqualizerSettings

Class EqualizerSettings

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Defines the each Equalizer channel settings.

Fields

KEY_CHANNEL_ID

public static final java.lang.String KEY_CHANNEL_ID
Constant Value
"channelId"

KEY_CHANNEL_NAME

public static final java.lang.String KEY_CHANNEL_NAME
Constant Value
"channelName"

KEY_CHANNEL_SETTING

public static final java.lang.String KEY_CHANNEL_SETTING
Constant Value
"channelSetting"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

EqualizerSettings()

Constructs a newly allocated EqualizerSettings object

public EqualizerSettings()

EqualizerSettings( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a newly allocated EqualizerSettings object indicated by the Hashtable parameter

public EqualizerSettings(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

EqualizerSettings( Integer channelId, Integer channelSetting )

Constructs a newly allocated EqualizerSettings object

public EqualizerSettings(Integer channelId,Integer channelSetting)

Constructor Parameters

channelId
Min: 0 Max: 100
channelSetting
Min: 0 Max: 100

Methods

setChannelId( Integer channelId )

Sets the channelId portion of the EqualizerSettings class

public com.smartdevicelink.proxy.rpc.EqualizerSettings setChannelId(Integer channelId)

Method Parameters

channelId
ID that represents the channel these settings should be applied

getChannelId()

Gets the channelId portion of the EqualizerSettings class

public java.lang.Integer getChannelId()

setChannelName( String channelName )

Sets the channelName portion of the EqualizerSettings class

public com.smartdevicelink.proxy.rpc.EqualizerSettings setChannelName(String channelName)

Method Parameters

channelName
Read-only channel / frequency name (e.i. "Treble, MidRange, Bass" or "125 Hz").

getChannelName()

Gets the channelName portion of the EqualizerSettings class

public java.lang.String getChannelName()

setChannelSetting( Integer channelSetting )

Sets the channelSetting portion of the EqualizerSettings class

public com.smartdevicelink.proxy.rpc.EqualizerSettings setChannelSetting(Integer channelSetting)

Method Parameters

channelSetting
Reflects the setting, from 0%-100%.

getChannelSetting()

Gets the channelSetting portion of the EqualizerSettings class

public java.lang.Integer getChannelSetting()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section