SinricPro Library
SinricProInterface.h
1 /*
2  * Copyright (c) 2019 Sinric. All rights reserved.
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
4  *
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
6  */
7 
8 #ifndef _SINRICPRO_INTERFACE_H_
9 #define _SINRICPRO_INTERFACE_H_
10 
11 #include "ArduinoJson.h"
12 #include "SinricProQueue.h"
13 #include "SinricProId.h"
14 
15 class SinricProInterface {
16  public:
17  virtual void sendMessage(JsonDocument& jsonEvent);
18  virtual DynamicJsonDocument prepareEvent(DeviceId deviceId, const char* action, const char* cause);
19  virtual unsigned long getTimestamp();
20  virtual bool isConnected();
21 };
22 
23 
24 #endif