SinricPro Library
Loading...
Searching...
No Matches
PushNotification.h
1#pragma once
2
3#include "../EventLimiter.h"
4#include "../SinricProStrings.h"
5
6#include "../SinricProNamespace.h"
7namespace SINRICPRO_NAMESPACE {
8
9FSTR(PUSHNOTIFICATION, pushNotification); // "pushNotification"
10FSTR(PUSHNOTIFICATION, alert); // "alert"
11
16template <typename T>
18 public:
21 private:
22 EventLimiter event_limiter;
23};
24
25template <typename T>
27: event_limiter (EVENT_LIMIT_SENSOR_VALUE) {}
28
37template <typename T>
49
50} // SINRICPRO_NAMESPACE
51
52template <typename T>
53using PushNotification = SINRICPRO_NAMESPACE::PushNotification<T>;
AirQuality.
Definition AirQualitySensor.h:19
PushNotification.
Definition PushNotification.h:17
bool sendPushNotification(String notification)
Sending push notifications to SinricPro App.
Definition PushNotification.h:38