MuteController.
More...
#include <MuteController.h>
template<
typename T>
class SINRICPRO_3_0_0::MuteController< T >
MuteController.
◆ onMute()
Set callback function for setMute
request.
- Parameters
-
cb | Function pointer to a MuteCallback function |
- Returns
- void
- See also
- MuteCallback
◆ sendMuteEvent()
Send setMute
event to SinricPro Server indicating actual mute state.
- Parameters
-
mute | true = device is muted on
false = device is unmuted |
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 |