| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CHANNEL_ID |
static String |
KEY_CHANNEL_NAME |
static String |
KEY_CHANNEL_SETTING |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
EqualizerSettings()
Constructs a newly allocated EqualizerSettings object
|
EqualizerSettings(Hashtable<String,Object> hash)
Constructs a newly allocated EqualizerSettings object indicated by the Hashtable parameter
|
EqualizerSettings(Integer channelId,
Integer channelSetting)
Constructs a newly allocated EqualizerSettings object
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getChannelId()
Gets the channelId portion of the EqualizerSettings class
|
String |
getChannelName()
Gets the channelName portion of the EqualizerSettings class
|
Integer |
getChannelSetting()
Gets the channelSetting portion of the EqualizerSettings class
|
EqualizerSettings |
setChannelId(Integer channelId)
Sets the channelId portion of the EqualizerSettings class
|
EqualizerSettings |
setChannelName(String channelName)
Sets the channelName portion of the EqualizerSettings class
|
EqualizerSettings |
setChannelSetting(Integer channelSetting)
Sets the channelSetting portion of the EqualizerSettings class
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_CHANNEL_ID
public static final String KEY_CHANNEL_NAME
public static final String KEY_CHANNEL_SETTING
public EqualizerSettings()
public EqualizerSettings(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic EqualizerSettings setChannelId(@NonNull Integer channelId)
channelId - ID that represents the channel these settings should be appliedpublic Integer getChannelId()
public EqualizerSettings setChannelName(String channelName)
channelName - Read-only channel / frequency name (e.i. "Treble, MidRange, Bass" or "125 Hz").public String getChannelName()
public EqualizerSettings setChannelSetting(@NonNull Integer channelSetting)
channelSetting - Reflects the setting, from 0%-100%.public Integer getChannelSetting()