SinricPro Library
Doorbell< T >

Dorbell. More...

Inheritance diagram for Doorbell< T >:

Public Member Functions

bool sendDoorbellEvent (String cause="PHYSICAL_INTERACTION")
 Send Doorbell event to SinricPro Server indicating someone pressed the doorbell button. More...
 

Detailed Description

template<typename T>
class Doorbell< T >

Dorbell.

Member Function Documentation

◆ sendDoorbellEvent()

bool sendDoorbellEvent ( String  cause = "PHYSICAL_INTERACTION")

Send Doorbell event to SinricPro Server indicating someone pressed the doorbell button.

Parameters
causeString (optional) Reason why event is sent (default = "PHYSICAL_INTERACTION")
Returns
the success of sending the event
Return values
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time