1 #ifndef _SINRICPRODEVICEINTERFACE_
2 #define _SINRICPRODEVICEINTERFACE_
4 #include <SinricProInterface.h>
5 #include <SinricProRequest.h>
6 #include <SinricProId.h>
8 class SinricProDeviceInterface {
11 virtual bool handleRequest(SinricProRequest &request) = 0;
12 virtual DeviceId getDeviceId() = 0;
13 virtual String getProductType() = 0;
14 virtual void begin(SinricProInterface* eventSender) = 0;
The main class of this library, handling communication between SinricPro Server and your devices.
Definition: SinricPro.h:25
void begin(AppKey socketAuthToken, AppSecret signingKey, String serverURL=SINRICPRO_SERVER_URL)
Initializing SinricProClass to be able to connect to SinricPro Server.
Definition: SinricPro.h:182
unsigned long getTimestamp() override
Get the current timestamp.
Definition: SinricPro.h:91