EqualizerController.
More...
#include <EqualizerController.h>
template<
typename T>
class SINRICPRO_3_0_0::EqualizerController< T >
EqualizerController.
◆ onAdjustBands()
Set callback function for adjustBands
request.
- Parameters
-
cb | Function pointer to a AdjustBandsCallback function |
- Returns
- void
- See also
- AdjustBandsCallback
◆ onResetBands()
Set callback function for resetBands
request.
- Parameters
-
cb | Function pointer to a ResetBandsCallback function |
- Returns
- void
- See also
- ResetBandsCallback
◆ onSetBands()
Set callback function for setBands
request.
- Parameters
-
cb | Function pointer to a SetBandsCallback function |
- Returns
- void
- See also
- SetBandsCallback
◆ sendBandsEvent()
bool sendBandsEvent |
( |
String |
bands, |
|
|
int |
level, |
|
|
String |
cause = "PHYSICAL_INTERACTION" |
|
) |
| |
Send setBands
event to SinricPro Server indicating bands level has changed.
- Parameters
-
bands | String which bands has changed
BASS , MIDRANGE , TREBBLE |
level | Integer with changed bands level |
cause | (optional) String reason why event is sent (default = "PHYSICAL_INTERACTION" ) |
- Returns
- the success of sending the even
- Return values
-
true | event has been sent successfully |
false | event has not been sent, maybe you sent to much events in a short distance of time |