SinricPro Library
Main Page
Classes
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
14
class
SinricProInterface {
15
public
:
16
virtual
void
sendMessage(JsonDocument& jsonEvent);
17
virtual
DynamicJsonDocument prepareEvent(
const
char
* deviceId,
const
char
* action,
const
char
* cause);
18
virtual
unsigned
long
getTimestamp();
19
virtual
bool
isConnected();
20
};
21
22
23
#endif
src
SinricProInterface.h
Generated by
1.8.16