SinricPro Library
Loading...
Searching...
No Matches
Doorbell< T >

Dorbell. More...

#include <Doorbell.h>

Inheritance diagram for Doorbell< T >:

Public Member Functions

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

Detailed Description

template<typename T>
class SINRICPRO_3_0_0::Doorbell< T >

Dorbell.

Member Function Documentation

◆ sendDoorbellEvent()

template<typename T >
bool sendDoorbellEvent ( String  cause = FSTR_SINRICPRO_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