DorbellEventSource.
More...
template<typename T>
class DoorbellEventSource< T >
DorbellEventSource.
◆ sendDoorbellEvent()
bool sendDoorbellEvent |
( |
String |
cause = "PHYSICAL_INTERACTION" | ) |
|
Send Doorbell event to SinricPro Server indicating someone pressed the doorbell button.
- Parameters
-
cause | String (optional) Reason why event is sent (default = "PHYSICAL_INTERACTION" ) |
- Returns
- the success of sending the event
- 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 |