Skip to content

Commit 9835cbd

Browse files
authored
Merge pull request #2 from sivar2311/master
Update to SDK Version 2.10.0
2 parents 0e01fd8 + 9f737ff commit 9835cbd

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

docs/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,13 @@ <h1><a class="anchor" id="autotoc_md21"></a>
191191
<div class="line"> myDoorbell.sendDoorbellEvent();</div>
192192
</div><!-- fragment --><p><em>Example 2 (alternatively)</em> </p><div class="fragment"><div class="line">{C++}</div>
193193
<div class="line"> SinricPro[&quot;YOUR-DOORBELL-ID-HERE&quot;].as&lt;SinricProDoorbell&gt;().sendDoorbellEvent();</div>
194+
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md22"></a>
195+
How to send a push notification?</h1>
196+
<div class="fragment"><div class="line"> {C++}</div>
197+
<div class="line">SinricProSwitch&amp; mySwitch = SinricPro[SWITCH_ID];</div>
198+
<div class="line">mySwitch.sendPushNotification(&quot;Hello SinricPro!&quot;);</div>
194199
</div><!-- fragment --><hr />
195-
<h1><a class="anchor" id="autotoc_md23"></a>
200+
<h1><a class="anchor" id="autotoc_md24"></a>
196201
Devices</h1>
197202
<ul>
198203
<li>Switch</li>
@@ -211,7 +216,7 @@ <h1><a class="anchor" id="autotoc_md23"></a>
211216
<li>Interior Blinds</li>
212217
<li>Garage Door </li>
213218
</ul>
214-
<h2><a class="anchor" id="autotoc_md24"></a>
219+
<h2><a class="anchor" id="autotoc_md25"></a>
215220
* Custom devices</h2>
216221
</div></div><!-- PageDoc -->
217222
</div><!-- contents -->

docs/navtreedata.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ var NAVTREE =
4343
] ],
4444
[ "How to add a device?", "index.html#autotoc_md19", null ],
4545
[ "How to retrieve a device for sending an event?", "index.html#autotoc_md21", null ],
46-
[ "Devices", "index.html#autotoc_md23", [
47-
[ "* Custom devices", "index.html#autotoc_md24", null ]
46+
[ "How to send a push notification?", "index.html#autotoc_md22", null ],
47+
[ "Devices", "index.html#autotoc_md24", [
48+
[ "* Custom devices", "index.html#autotoc_md25", null ]
4849
] ]
4950
] ],
5051
[ "Modules", "modules.html", "modules" ],

docs/navtreeindex1.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ var NAVTREEINDEX1 =
2121
"index.html#autotoc_md19":[0,6],
2222
"index.html#autotoc_md2":[0,1],
2323
"index.html#autotoc_md21":[0,7],
24-
"index.html#autotoc_md23":[0,8],
25-
"index.html#autotoc_md24":[0,8,0],
24+
"index.html#autotoc_md22":[0,8],
25+
"index.html#autotoc_md24":[0,9],
26+
"index.html#autotoc_md25":[0,9,0],
2627
"index.html#autotoc_md3":[0,1,0],
2728
"index.html#autotoc_md4":[0,1,1],
2829
"index.html#autotoc_md6":[0,2],

0 commit comments

Comments
 (0)