EqualizerController
Outgoing Messages
GetBandLevels
Retrieves the current equalizer gain settings on the device for each supported band. If unsupported band levels are provided, the Engine will truncate levels to the configured range.
JSON Structure
{
"header": {
"version": "4.0",
"messageType": "Publish",
"id": {{String}},
"messageDescription": {
"topic": "EqualizerController",
"action": "GetBandLevels"
}
}
}
SetBandLevels
Notifies the platform implementation to apply the provided gain settings to the corresponding equalizer bands.
JSON Structure
{
"header": {
"version": "4.0",
"messageType": "Publish",
"id": {{String}},
"messageDescription": {
"topic": "EqualizerController",
"action": "SetBandLevels"
}
},
"payload": {
"bandLevels": [{{EqualizerBandLevel}}]
}
}
Payload
Incoming Messages
LocalResetBands
Notifies the Engine that the gain levels for the equalizer bands are being reset to their defaults.
JSON Structure
{
"header": {
"version": "4.0",
"messageType": "Publish",
"id": {{String}},
"messageDescription": {
"topic": "EqualizerController",
"action": "LocalResetBands"
}
},
"payload": {
"bands": [{{EqualizerBand}}]
}
}
Payload
LocalSetBandLevels
Notifies the Engine that gain levels for one or more equalizer bands are being set directly on the device. If unsupported levels are provided, the Engine will truncate the settings to the configured range.
JSON Structure
{
"header": {
"version": "4.0",
"messageType": "Publish",
"id": {{String}},
"messageDescription": {
"topic": "EqualizerController",
"action": "LocalSetBandLevels"
}
},
"payload": {
"bandLevels": [{{EqualizerBandLevel}}]
}
}
Payload
LocalAdjustBandLevels
Notifies the Engine that relative adjustments to equalizer band gain levels are being made directly on the device. If adjustments put the band level settings beyond the configured dB range, the Engine will truncate the settings to the configured range.
JSON Structure
{
"header": {
"version": "4.0",
"messageType": "Publish",
"id": {{String}},
"messageDescription": {
"topic": "EqualizerController",
"action": "LocalAdjustBandLevels"
}
},
"payload": {
"bandAdjustments": [{{EqualizerBandLevel}}]
}
}
Payload
GetBandLevelsReply
Reply for GetBandLevels message.
JSON Structure
{
"header": {
"version": "4.0",
"messageType": "Reply",
"id": {{String}},
"messageDescription": {
"topic": "EqualizerController",
"action": "GetBandLevels",
"replyToId": {{String}}
}
},
"payload": {
"bandLevels": [{{EqualizerBandLevel}}]
}
}
Payload
Type Definitions
EqualizerBandLevel
JSON Structure
{
"band": {{EqualizerBand}},
"level": {{Int}}
}
Properties
Enums
EqualizerBand
Values