@sebbo2002/node-pyatv 5.1.2-develop.3 → 6.0.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/LICENSE +1 -1
- package/dist/lib/device-events.d.ts +1 -1
- package/dist/lib/device-events.js +3 -0
- package/dist/lib/device-events.js.map +1 -1
- package/dist/lib/device.d.ts +13 -2
- package/dist/lib/device.js +37 -0
- package/dist/lib/device.js.map +1 -1
- package/dist/lib/fake-spawn.d.ts +3 -3
- package/dist/lib/tools.d.ts +2 -2
- package/dist/lib/types.d.ts +7 -2
- package/docs/coverage/cobertura-coverage.xml +846 -783
- package/docs/coverage/device-event.ts.html +1 -1
- package/docs/coverage/device-events.ts.html +24 -15
- package/docs/coverage/device.ts.html +138 -21
- package/docs/coverage/fake-spawn.ts.html +40 -40
- package/docs/coverage/index.html +28 -28
- package/docs/coverage/index.ts.html +1 -1
- package/docs/coverage/instance.ts.html +1 -1
- package/docs/coverage/tools.ts.html +251 -251
- package/docs/coverage/types.ts.html +23 -5
- package/docs/reference/assets/main.js +56 -52
- package/docs/reference/assets/search.js +1 -1
- package/docs/reference/assets/style.css +23 -0
- package/docs/reference/classes/NodePyATVDevice.html +112 -74
- package/docs/reference/classes/NodePyATVDeviceEvent.html +10 -10
- package/docs/reference/classes/NodePyATVInstance.html +14 -14
- package/docs/reference/enums/NodePyATVDeviceState.html +11 -11
- package/docs/reference/enums/NodePyATVExecutableType.html +7 -7
- package/docs/reference/enums/NodePyATVKeys.html +28 -28
- package/docs/reference/enums/NodePyATVListenerState.html +9 -9
- package/docs/reference/enums/NodePyATVMediaType.html +9 -9
- package/docs/reference/enums/NodePyATVPowerState.html +7 -7
- package/docs/reference/enums/NodePyATVProtocol.html +9 -9
- package/docs/reference/enums/NodePyATVRepeatState.html +8 -8
- package/docs/reference/enums/NodePyATVShuffleState.html +8 -8
- package/docs/reference/index.html +5 -5
- package/docs/reference/interfaces/NodePyATVDeviceOptions.html +27 -27
- package/docs/reference/interfaces/NodePyATVFindAndInstanceOptions.html +21 -21
- package/docs/reference/interfaces/NodePyATVFindOptions.html +14 -14
- package/docs/reference/interfaces/NodePyATVGetStateOptions.html +6 -6
- package/docs/reference/interfaces/NodePyATVInstanceOptions.html +12 -12
- package/docs/reference/interfaces/NodePyATVService.html +7 -7
- package/docs/reference/interfaces/NodePyATVState.html +20 -20
- package/docs/reference/interfaces/NodePyATVVersionResponse.html +7 -7
- package/docs/reference/modules.html +4 -4
- package/docs/reference/types/NodePyATVEventValueType.html +5 -5
- package/docs/tests/index.html +1 -1
- package/docs/tests/mochawesome.json +740 -662
- package/package.json +14 -14
- package/release.config.cjs +1 -6
- package/src/lib/device-events.ts +3 -0
- package/src/lib/device.ts +40 -1
- package/src/lib/tools.ts +1 -1
- package/src/lib/types.ts +7 -1
- package/test/device.ts +42 -0
- package/tsconfig.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDevice | node-pyatv -
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDevice | node-pyatv - v6.0.0-develop.2</title><meta name="description" content="Documentation for node-pyatv - v6.0.0-develop.2"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv -
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v6.0.0-develop.2</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">node-pyatv -
|
|
15
|
+
<li><a href="../modules.html">node-pyatv - v6.0.0-develop.2</a></li>
|
|
16
16
|
<li><a href="NodePyATVDevice.html">NodePyATVDevice</a></li></ul>
|
|
17
17
|
<h1>Class NodePyATVDevice</h1></div>
|
|
18
18
|
<section class="tsd-panel tsd-comment">
|
|
@@ -31,7 +31,7 @@ It's also possible to send key commands by using <a href="NodePyATVDevice.ht
|
|
|
31
31
|
<ul class="tsd-hierarchy">
|
|
32
32
|
<li><span class="tsd-signature-type">EventEmitter</span></li></ul></section><aside class="tsd-sources">
|
|
33
33
|
<ul>
|
|
34
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
34
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L30">src/lib/device.ts:30</a></li></ul></aside>
|
|
35
35
|
<section class="tsd-panel-group tsd-index-group">
|
|
36
36
|
<section class="tsd-panel tsd-index-panel">
|
|
37
37
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -105,6 +105,11 @@ It's also possible to send key commands by using <a href="NodePyATVDevice.ht
|
|
|
105
105
|
<a href="NodePyATVDevice.html#setMaxListeners" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Max<wbr/>Listeners</span></a>
|
|
106
106
|
</div></section>
|
|
107
107
|
<section class="tsd-index-section">
|
|
108
|
+
<h3 class="tsd-index-heading">Methods - Other</h3>
|
|
109
|
+
<div class="tsd-index-list"><a href="NodePyATVDevice.html#launchApp" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>launch<wbr/>App</span></a>
|
|
110
|
+
<a href="NodePyATVDevice.html#listApps" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>list<wbr/>Apps</span></a>
|
|
111
|
+
</div></section>
|
|
112
|
+
<section class="tsd-index-section">
|
|
108
113
|
<h3 class="tsd-index-heading">Methods - State</h3>
|
|
109
114
|
<div class="tsd-index-list"><a href="NodePyATVDevice.html#clearState" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>clear<wbr/>State</span></a>
|
|
110
115
|
<a href="NodePyATVDevice.html#getAlbum" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Album</span></a>
|
|
@@ -137,7 +142,7 @@ It's also possible to send key commands by using <a href="NodePyATVDevice.ht
|
|
|
137
142
|
<h5>options: <a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a></h5></li></ul></div>
|
|
138
143
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
139
144
|
<ul>
|
|
140
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
145
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L35">src/lib/device.ts:35</a></li></ul></aside></li></ul></section></section>
|
|
141
146
|
<section class="tsd-panel-group tsd-member-group">
|
|
142
147
|
<h2>Accessors</h2>
|
|
143
148
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="debug" class="tsd-anchor"></a>
|
|
@@ -151,7 +156,7 @@ log is disabled, returns undefined.</p>
|
|
|
151
156
|
</div>
|
|
152
157
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h4><aside class="tsd-sources">
|
|
153
158
|
<ul>
|
|
154
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
159
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L145">src/lib/device.ts:145</a></li></ul></aside></li>
|
|
155
160
|
<li class="tsd-signature" id="debug.debug-2"><span class="tsd-signature-symbol">set</span> debug<span class="tsd-signature-symbol">(</span>debug<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
156
161
|
<li class="tsd-description">
|
|
157
162
|
<div class="tsd-comment tsd-typography"><p>Enable or disable debugging or set a custom
|
|
@@ -164,7 +169,7 @@ debugging method to use.</p>
|
|
|
164
169
|
<h5>debug: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5></li></ul></div>
|
|
165
170
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
166
171
|
<ul>
|
|
167
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
172
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L155">src/lib/device.ts:155</a></li></ul></aside></li></ul></section>
|
|
168
173
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="host" class="tsd-anchor"></a>
|
|
169
174
|
<h3 class="tsd-anchor-link"><span>host</span><a href="#host" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
170
175
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -174,7 +179,7 @@ debugging method to use.</p>
|
|
|
174
179
|
</div>
|
|
175
180
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
176
181
|
<ul>
|
|
177
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
182
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L61">src/lib/device.ts:61</a></li></ul></aside></li></ul></section>
|
|
178
183
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="id" class="tsd-anchor"></a>
|
|
179
184
|
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
180
185
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -184,7 +189,7 @@ debugging method to use.</p>
|
|
|
184
189
|
</div>
|
|
185
190
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
186
191
|
<ul>
|
|
187
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
192
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L68">src/lib/device.ts:68</a></li></ul></aside></li></ul></section>
|
|
188
193
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="model" class="tsd-anchor"></a>
|
|
189
194
|
<h3 class="tsd-anchor-link"><span>model</span><a href="#model" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
190
195
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -198,7 +203,7 @@ device was found using find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
198
203
|
</div>
|
|
199
204
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
200
205
|
<ul>
|
|
201
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
206
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L85">src/lib/device.ts:85</a></li></ul></aside></li></ul></section>
|
|
202
207
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="modelName" class="tsd-anchor"></a>
|
|
203
208
|
<h3 class="tsd-anchor-link"><span>model<wbr/>Name</span><a href="#modelName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
204
209
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -212,7 +217,7 @@ was found with find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
212
217
|
</div>
|
|
213
218
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
214
219
|
<ul>
|
|
215
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
220
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L95">src/lib/device.ts:95</a></li></ul></aside></li></ul></section>
|
|
216
221
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="name" class="tsd-anchor"></a>
|
|
217
222
|
<h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
218
223
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -224,7 +229,7 @@ was found with find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
224
229
|
</div>
|
|
225
230
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
226
231
|
<ul>
|
|
227
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
232
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L54">src/lib/device.ts:54</a></li></ul></aside></li></ul></section>
|
|
228
233
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="os" class="tsd-anchor"></a>
|
|
229
234
|
<h3 class="tsd-anchor-link"><span>os</span><a href="#os" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
230
235
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -238,7 +243,7 @@ device was found with find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
238
243
|
</div>
|
|
239
244
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
240
245
|
<ul>
|
|
241
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
246
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L105">src/lib/device.ts:105</a></li></ul></aside></li></ul></section>
|
|
242
247
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="protocol" class="tsd-anchor"></a>
|
|
243
248
|
<h3 class="tsd-anchor-link"><span>protocol</span><a href="#protocol" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
244
249
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -248,7 +253,7 @@ device was found with find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
248
253
|
</div>
|
|
249
254
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a></h4><aside class="tsd-sources">
|
|
250
255
|
<ul>
|
|
251
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
256
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L75">src/lib/device.ts:75</a></li></ul></aside></li></ul></section>
|
|
252
257
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="services" class="tsd-anchor"></a>
|
|
253
258
|
<h3 class="tsd-anchor-link"><span>services</span><a href="#services" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
254
259
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -263,7 +268,7 @@ pyatv ≧ 0.10.3.</p>
|
|
|
263
268
|
</div>
|
|
264
269
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/NodePyATVService.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVService</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
265
270
|
<ul>
|
|
266
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
271
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L135">src/lib/device.ts:135</a></li></ul></aside></li></ul></section>
|
|
267
272
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a>
|
|
268
273
|
<h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
269
274
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -277,7 +282,7 @@ during a scan using find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
277
282
|
</div>
|
|
278
283
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
279
284
|
<ul>
|
|
280
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
285
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L115">src/lib/device.ts:115</a></li></ul></aside></li></ul></section></section>
|
|
281
286
|
<section class="tsd-panel-group tsd-member-group">
|
|
282
287
|
<h2>Basic Methods</h2>
|
|
283
288
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toJSON" class="tsd-anchor"></a>
|
|
@@ -299,7 +304,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
299
304
|
<li class="tsd-parameter">
|
|
300
305
|
<h5>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a></h5></li></ul><aside class="tsd-sources">
|
|
301
306
|
<ul>
|
|
302
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
307
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L170">src/lib/device.ts:170</a></li></ul></aside></li></ul></section>
|
|
303
308
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toString" class="tsd-anchor"></a>
|
|
304
309
|
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
305
310
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -309,7 +314,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
309
314
|
</div>
|
|
310
315
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
311
316
|
<ul>
|
|
312
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
317
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L184">src/lib/device.ts:184</a></li></ul></aside></li></ul></section></section>
|
|
313
318
|
<section class="tsd-panel-group tsd-member-group">
|
|
314
319
|
<h2>Control Methods</h2>
|
|
315
320
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="down" class="tsd-anchor"></a>
|
|
@@ -321,7 +326,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
321
326
|
</div>
|
|
322
327
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
323
328
|
<ul>
|
|
324
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
329
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L462">src/lib/device.ts:462</a></li></ul></aside></li></ul></section>
|
|
325
330
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="home" class="tsd-anchor"></a>
|
|
326
331
|
<h3 class="tsd-anchor-link"><span>home</span><a href="#home" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
327
332
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -331,7 +336,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
331
336
|
</div>
|
|
332
337
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
333
338
|
<ul>
|
|
334
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
339
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L470">src/lib/device.ts:470</a></li></ul></aside></li></ul></section>
|
|
335
340
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="homeHold" class="tsd-anchor"></a>
|
|
336
341
|
<h3 class="tsd-anchor-link"><span>home<wbr/>Hold</span><a href="#homeHold" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
337
342
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -341,7 +346,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
341
346
|
</div>
|
|
342
347
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
343
348
|
<ul>
|
|
344
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
349
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L478">src/lib/device.ts:478</a></li></ul></aside></li></ul></section>
|
|
345
350
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="left" class="tsd-anchor"></a>
|
|
346
351
|
<h3 class="tsd-anchor-link"><span>left</span><a href="#left" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
347
352
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -351,7 +356,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
351
356
|
</div>
|
|
352
357
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
353
358
|
<ul>
|
|
354
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
359
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L486">src/lib/device.ts:486</a></li></ul></aside></li></ul></section>
|
|
355
360
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="menu" class="tsd-anchor"></a>
|
|
356
361
|
<h3 class="tsd-anchor-link"><span>menu</span><a href="#menu" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
357
362
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -361,7 +366,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
361
366
|
</div>
|
|
362
367
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
363
368
|
<ul>
|
|
364
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
369
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L494">src/lib/device.ts:494</a></li></ul></aside></li></ul></section>
|
|
365
370
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="next" class="tsd-anchor"></a>
|
|
366
371
|
<h3 class="tsd-anchor-link"><span>next</span><a href="#next" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
367
372
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -371,7 +376,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
371
376
|
</div>
|
|
372
377
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
373
378
|
<ul>
|
|
374
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
379
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L502">src/lib/device.ts:502</a></li></ul></aside></li></ul></section>
|
|
375
380
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="pause" class="tsd-anchor"></a>
|
|
376
381
|
<h3 class="tsd-anchor-link"><span>pause</span><a href="#pause" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
377
382
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -381,7 +386,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
381
386
|
</div>
|
|
382
387
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
383
388
|
<ul>
|
|
384
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
389
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L510">src/lib/device.ts:510</a></li></ul></aside></li></ul></section>
|
|
385
390
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="play" class="tsd-anchor"></a>
|
|
386
391
|
<h3 class="tsd-anchor-link"><span>play</span><a href="#play" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
387
392
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -391,7 +396,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
391
396
|
</div>
|
|
392
397
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
393
398
|
<ul>
|
|
394
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
399
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L518">src/lib/device.ts:518</a></li></ul></aside></li></ul></section>
|
|
395
400
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="playPause" class="tsd-anchor"></a>
|
|
396
401
|
<h3 class="tsd-anchor-link"><span>play<wbr/>Pause</span><a href="#playPause" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
397
402
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -401,7 +406,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
401
406
|
</div>
|
|
402
407
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
403
408
|
<ul>
|
|
404
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
409
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L526">src/lib/device.ts:526</a></li></ul></aside></li></ul></section>
|
|
405
410
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="pressKey" class="tsd-anchor"></a>
|
|
406
411
|
<h3 class="tsd-anchor-link"><span>press<wbr/>Key</span><a href="#pressKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
407
412
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -422,7 +427,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
422
427
|
<h5>key: <a href="../enums/NodePyATVKeys.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVKeys</a></h5></li></ul></div>
|
|
423
428
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
424
429
|
<ul>
|
|
425
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
430
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L442">src/lib/device.ts:442</a></li></ul></aside></li></ul></section>
|
|
426
431
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="previous" class="tsd-anchor"></a>
|
|
427
432
|
<h3 class="tsd-anchor-link"><span>previous</span><a href="#previous" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
428
433
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -432,7 +437,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
432
437
|
</div>
|
|
433
438
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
434
439
|
<ul>
|
|
435
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
440
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L534">src/lib/device.ts:534</a></li></ul></aside></li></ul></section>
|
|
436
441
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="right" class="tsd-anchor"></a>
|
|
437
442
|
<h3 class="tsd-anchor-link"><span>right</span><a href="#right" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
438
443
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -442,7 +447,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
442
447
|
</div>
|
|
443
448
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
444
449
|
<ul>
|
|
445
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
450
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L542">src/lib/device.ts:542</a></li></ul></aside></li></ul></section>
|
|
446
451
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="select" class="tsd-anchor"></a>
|
|
447
452
|
<h3 class="tsd-anchor-link"><span>select</span><a href="#select" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
448
453
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -452,7 +457,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
452
457
|
</div>
|
|
453
458
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
454
459
|
<ul>
|
|
455
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
460
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L550">src/lib/device.ts:550</a></li></ul></aside></li></ul></section>
|
|
456
461
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="skipBackward" class="tsd-anchor"></a>
|
|
457
462
|
<h3 class="tsd-anchor-link"><span>skip<wbr/>Backward</span><a href="#skipBackward" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
458
463
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -462,7 +467,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
462
467
|
</div>
|
|
463
468
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
464
469
|
<ul>
|
|
465
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
470
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L558">src/lib/device.ts:558</a></li></ul></aside></li></ul></section>
|
|
466
471
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="skipForward" class="tsd-anchor"></a>
|
|
467
472
|
<h3 class="tsd-anchor-link"><span>skip<wbr/>Forward</span><a href="#skipForward" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
468
473
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -472,7 +477,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
472
477
|
</div>
|
|
473
478
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
474
479
|
<ul>
|
|
475
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
480
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L566">src/lib/device.ts:566</a></li></ul></aside></li></ul></section>
|
|
476
481
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stop" class="tsd-anchor"></a>
|
|
477
482
|
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
478
483
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -482,7 +487,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
482
487
|
</div>
|
|
483
488
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
484
489
|
<ul>
|
|
485
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
490
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L574">src/lib/device.ts:574</a></li></ul></aside></li></ul></section>
|
|
486
491
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="suspend" class="tsd-anchor"></a>
|
|
487
492
|
<h3 class="tsd-anchor-link"><span>suspend</span><a href="#suspend" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
488
493
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -493,7 +498,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
493
498
|
<h3>Deprecated</h3></div>
|
|
494
499
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
495
500
|
<ul>
|
|
496
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
501
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L583">src/lib/device.ts:583</a></li></ul></aside></li></ul></section>
|
|
497
502
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="topMenu" class="tsd-anchor"></a>
|
|
498
503
|
<h3 class="tsd-anchor-link"><span>top<wbr/>Menu</span><a href="#topMenu" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
499
504
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -503,7 +508,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
503
508
|
</div>
|
|
504
509
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
505
510
|
<ul>
|
|
506
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
511
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L591">src/lib/device.ts:591</a></li></ul></aside></li></ul></section>
|
|
507
512
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="turnOff" class="tsd-anchor"></a>
|
|
508
513
|
<h3 class="tsd-anchor-link"><span>turn<wbr/>Off</span><a href="#turnOff" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
509
514
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -513,7 +518,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
513
518
|
</div>
|
|
514
519
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
515
520
|
<ul>
|
|
516
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
521
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L632">src/lib/device.ts:632</a></li></ul></aside></li></ul></section>
|
|
517
522
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="turnOn" class="tsd-anchor"></a>
|
|
518
523
|
<h3 class="tsd-anchor-link"><span>turn<wbr/>On</span><a href="#turnOn" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
519
524
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -523,7 +528,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
523
528
|
</div>
|
|
524
529
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
525
530
|
<ul>
|
|
526
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
531
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L640">src/lib/device.ts:640</a></li></ul></aside></li></ul></section>
|
|
527
532
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="up" class="tsd-anchor"></a>
|
|
528
533
|
<h3 class="tsd-anchor-link"><span>up</span><a href="#up" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
529
534
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -533,7 +538,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
533
538
|
</div>
|
|
534
539
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
535
540
|
<ul>
|
|
536
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
541
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L599">src/lib/device.ts:599</a></li></ul></aside></li></ul></section>
|
|
537
542
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="volumeDown" class="tsd-anchor"></a>
|
|
538
543
|
<h3 class="tsd-anchor-link"><span>volume<wbr/>Down</span><a href="#volumeDown" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
539
544
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -543,7 +548,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
543
548
|
</div>
|
|
544
549
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
545
550
|
<ul>
|
|
546
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
551
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L607">src/lib/device.ts:607</a></li></ul></aside></li></ul></section>
|
|
547
552
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="volumeUp" class="tsd-anchor"></a>
|
|
548
553
|
<h3 class="tsd-anchor-link"><span>volume<wbr/>Up</span><a href="#volumeUp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
549
554
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -553,7 +558,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
553
558
|
</div>
|
|
554
559
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
555
560
|
<ul>
|
|
556
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
561
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L615">src/lib/device.ts:615</a></li></ul></aside></li></ul></section>
|
|
557
562
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="wakeup" class="tsd-anchor"></a>
|
|
558
563
|
<h3 class="tsd-anchor-link"><span>wakeup</span><a href="#wakeup" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
559
564
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -564,7 +569,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
564
569
|
<h3>Deprecated</h3></div>
|
|
565
570
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
566
571
|
<ul>
|
|
567
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
572
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L624">src/lib/device.ts:624</a></li></ul></aside></li></ul></section></section>
|
|
568
573
|
<section class="tsd-panel-group tsd-member-group">
|
|
569
574
|
<h2>Event Methods</h2>
|
|
570
575
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addListener" class="tsd-anchor"></a>
|
|
@@ -596,7 +601,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
596
601
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
597
602
|
<p>Implementation of EventEmitter.addListener</p>
|
|
598
603
|
<ul>
|
|
599
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
604
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L660">src/lib/device.ts:660</a></li></ul></aside></li></ul></section>
|
|
600
605
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="emit" class="tsd-anchor"></a>
|
|
601
606
|
<h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
602
607
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -614,7 +619,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
614
619
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
615
620
|
<p>Implementation of EventEmitter.emit</p>
|
|
616
621
|
<ul>
|
|
617
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
622
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L671">src/lib/device.ts:671</a></li></ul></aside></li></ul></section>
|
|
618
623
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="eventNames" class="tsd-anchor"></a>
|
|
619
624
|
<h3 class="tsd-anchor-link"><span>event<wbr/>Names</span><a href="#eventNames" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
620
625
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -625,7 +630,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
625
630
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
626
631
|
<p>Implementation of EventEmitter.eventNames</p>
|
|
627
632
|
<ul>
|
|
628
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
633
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L679">src/lib/device.ts:679</a></li></ul></aside></li></ul></section>
|
|
629
634
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMaxListeners" class="tsd-anchor"></a>
|
|
630
635
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Max<wbr/>Listeners</span><a href="#getMaxListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
631
636
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -636,7 +641,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
636
641
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
637
642
|
<p>Implementation of EventEmitter.getMaxListeners</p>
|
|
638
643
|
<ul>
|
|
639
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
644
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L687">src/lib/device.ts:687</a></li></ul></aside></li></ul></section>
|
|
640
645
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listenerCount" class="tsd-anchor"></a>
|
|
641
646
|
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
642
647
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -652,7 +657,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
652
657
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
653
658
|
<p>Implementation of EventEmitter.listenerCount</p>
|
|
654
659
|
<ul>
|
|
655
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
660
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L696">src/lib/device.ts:696</a></li></ul></aside></li></ul></section>
|
|
656
661
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listeners" class="tsd-anchor"></a>
|
|
657
662
|
<h3 class="tsd-anchor-link"><span>listeners</span><a href="#listeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
658
663
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -669,7 +674,7 @@ node-pyatv wrappers (e.g. once)</p>
|
|
|
669
674
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
670
675
|
<p>Implementation of EventEmitter.listeners</p>
|
|
671
676
|
<ul>
|
|
672
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
677
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L708">src/lib/device.ts:708</a></li></ul></aside></li></ul></section>
|
|
673
678
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="off" class="tsd-anchor"></a>
|
|
674
679
|
<h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
675
680
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -699,7 +704,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
699
704
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
700
705
|
<p>Implementation of EventEmitter.off</p>
|
|
701
706
|
<ul>
|
|
702
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
707
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L719">src/lib/device.ts:719</a></li></ul></aside></li></ul></section>
|
|
703
708
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="on" class="tsd-anchor"></a>
|
|
704
709
|
<h3 class="tsd-anchor-link"><span>on</span><a href="#on" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
705
710
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -729,7 +734,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
729
734
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
730
735
|
<p>Implementation of EventEmitter.on</p>
|
|
731
736
|
<ul>
|
|
732
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
737
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L731">src/lib/device.ts:731</a></li></ul></aside></li></ul></section>
|
|
733
738
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="once" class="tsd-anchor"></a>
|
|
734
739
|
<h3 class="tsd-anchor-link"><span>once</span><a href="#once" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
735
740
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -760,7 +765,7 @@ Removes the listener automatically after the first occurrence.</p>
|
|
|
760
765
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
761
766
|
<p>Implementation of EventEmitter.once</p>
|
|
762
767
|
<ul>
|
|
763
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
768
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L744">src/lib/device.ts:744</a></li></ul></aside></li></ul></section>
|
|
764
769
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="prependListener" class="tsd-anchor"></a>
|
|
765
770
|
<h3 class="tsd-anchor-link"><span>prepend<wbr/>Listener</span><a href="#prependListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
766
771
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -787,7 +792,7 @@ Removes the listener automatically after the first occurrence.</p>
|
|
|
787
792
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
788
793
|
<p>Implementation of EventEmitter.prependListener</p>
|
|
789
794
|
<ul>
|
|
790
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
795
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L754">src/lib/device.ts:754</a></li></ul></aside></li></ul></section>
|
|
791
796
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="prependOnceListener" class="tsd-anchor"></a>
|
|
792
797
|
<h3 class="tsd-anchor-link"><span>prepend<wbr/>Once<wbr/>Listener</span><a href="#prependOnceListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
793
798
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -814,7 +819,7 @@ Removes the listener automatically after the first occurrence.</p>
|
|
|
814
819
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
815
820
|
<p>Implementation of EventEmitter.prependOnceListener</p>
|
|
816
821
|
<ul>
|
|
817
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
822
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L764">src/lib/device.ts:764</a></li></ul></aside></li></ul></section>
|
|
818
823
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="rawListeners" class="tsd-anchor"></a>
|
|
819
824
|
<h3 class="tsd-anchor-link"><span>raw<wbr/>Listeners</span><a href="#rawListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
820
825
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -828,7 +833,7 @@ Removes the listener automatically after the first occurrence.</p>
|
|
|
828
833
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
829
834
|
<p>Implementation of EventEmitter.rawListeners</p>
|
|
830
835
|
<ul>
|
|
831
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
836
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L774">src/lib/device.ts:774</a></li></ul></aside></li></ul></section>
|
|
832
837
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeAllListeners" class="tsd-anchor"></a>
|
|
833
838
|
<h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Listeners</span><a href="#removeAllListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
834
839
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -846,7 +851,7 @@ the Apple TV if this was the last event listener.</p>
|
|
|
846
851
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
847
852
|
<p>Implementation of EventEmitter.removeAllListeners</p>
|
|
848
853
|
<ul>
|
|
849
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
854
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L786">src/lib/device.ts:786</a></li></ul></aside></li></ul></section>
|
|
850
855
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeListener" class="tsd-anchor"></a>
|
|
851
856
|
<h3 class="tsd-anchor-link"><span>remove<wbr/>Listener</span><a href="#removeListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
852
857
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -876,7 +881,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
876
881
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
877
882
|
<p>Implementation of EventEmitter.removeListener</p>
|
|
878
883
|
<ul>
|
|
879
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
884
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L798">src/lib/device.ts:798</a></li></ul></aside></li></ul></section>
|
|
880
885
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setMaxListeners" class="tsd-anchor"></a>
|
|
881
886
|
<h3 class="tsd-anchor-link"><span>set<wbr/>Max<wbr/>Listeners</span><a href="#setMaxListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
882
887
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -890,7 +895,38 @@ Apple TV if this was the last event listener.</p>
|
|
|
890
895
|
<h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
|
|
891
896
|
<p>Implementation of EventEmitter.setMaxListeners</p>
|
|
892
897
|
<ul>
|
|
893
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
898
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L807">src/lib/device.ts:807</a></li></ul></aside></li></ul></section></section>
|
|
899
|
+
<section class="tsd-panel-group tsd-member-group">
|
|
900
|
+
<h2>Other Methods</h2>
|
|
901
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="launchApp" class="tsd-anchor"></a>
|
|
902
|
+
<h3 class="tsd-anchor-link"><span>launch<wbr/>App</span><a href="#launchApp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
903
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
904
|
+
<li class="tsd-signature tsd-anchor-link" id="launchApp.launchApp-1">launch<wbr/>App<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#launchApp.launchApp-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
905
|
+
<li class="tsd-description">
|
|
906
|
+
<div class="tsd-comment tsd-typography"><p>Launch an application. Probably requires <code>companionCredentials</code>, see
|
|
907
|
+
<a href="https://pyatv.dev/documentation/atvremote/#apps">https://pyatv.dev/documentation/atvremote/#apps</a> for more details.</p>
|
|
908
|
+
</div>
|
|
909
|
+
<div class="tsd-parameters">
|
|
910
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
911
|
+
<ul class="tsd-parameter-list">
|
|
912
|
+
<li>
|
|
913
|
+
<h5>id: <span class="tsd-signature-type">string</span></h5>
|
|
914
|
+
<div class="tsd-comment tsd-typography"><p>App identifier, e.g. <code>com.netflix.Netflix</code></p>
|
|
915
|
+
</div></li></ul></div>
|
|
916
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
917
|
+
<ul>
|
|
918
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L649">src/lib/device.ts:649</a></li></ul></aside></li></ul></section>
|
|
919
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listApps" class="tsd-anchor"></a>
|
|
920
|
+
<h3 class="tsd-anchor-link"><span>list<wbr/>Apps</span><a href="#listApps" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
921
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
922
|
+
<li class="tsd-signature tsd-anchor-link" id="listApps.listApps-1">list<wbr/>Apps<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">NodePyATVApp</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#listApps.listApps-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
923
|
+
<li class="tsd-description">
|
|
924
|
+
<div class="tsd-comment tsd-typography"><p>Returns the list of installed apps on the Apple TV. Probably requires <code>companionCredentials</code>,
|
|
925
|
+
see <a href="https://pyatv.dev/documentation/atvremote/#apps">https://pyatv.dev/documentation/atvremote/#apps</a> for more details.</p>
|
|
926
|
+
</div>
|
|
927
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">NodePyATVApp</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
928
|
+
<ul>
|
|
929
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L386">src/lib/device.ts:386</a></li></ul></aside></li></ul></section></section>
|
|
894
930
|
<section class="tsd-panel-group tsd-member-group">
|
|
895
931
|
<h2>State Methods</h2>
|
|
896
932
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="clearState" class="tsd-anchor"></a>
|
|
@@ -902,7 +938,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
902
938
|
</div>
|
|
903
939
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
904
940
|
<ul>
|
|
905
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
941
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L234">src/lib/device.ts:234</a></li></ul></aside></li></ul></section>
|
|
906
942
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAlbum" class="tsd-anchor"></a>
|
|
907
943
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Album</span><a href="#getAlbum" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
908
944
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -917,7 +953,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
917
953
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
918
954
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
919
955
|
<ul>
|
|
920
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
956
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L307">src/lib/device.ts:307</a></li></ul></aside></li></ul></section>
|
|
921
957
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getApp" class="tsd-anchor"></a>
|
|
922
958
|
<h3 class="tsd-anchor-link"><span>get<wbr/>App</span><a href="#getApp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
923
959
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -932,7 +968,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
932
968
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
933
969
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
934
970
|
<ul>
|
|
935
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
971
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L367">src/lib/device.ts:367</a></li></ul></aside></li></ul></section>
|
|
936
972
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAppId" class="tsd-anchor"></a>
|
|
937
973
|
<h3 class="tsd-anchor-link"><span>get<wbr/>App<wbr/>Id</span><a href="#getAppId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
938
974
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -947,7 +983,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
947
983
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
948
984
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
949
985
|
<ul>
|
|
950
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
986
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L377">src/lib/device.ts:377</a></li></ul></aside></li></ul></section>
|
|
951
987
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getArtist" class="tsd-anchor"></a>
|
|
952
988
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Artist</span><a href="#getArtist" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
953
989
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -962,7 +998,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
962
998
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
963
999
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
964
1000
|
<ul>
|
|
965
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1001
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L297">src/lib/device.ts:297</a></li></ul></aside></li></ul></section>
|
|
966
1002
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDateTime" class="tsd-anchor"></a>
|
|
967
1003
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Date<wbr/>Time</span><a href="#getDateTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
968
1004
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -977,7 +1013,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
977
1013
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
978
1014
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
979
1015
|
<ul>
|
|
980
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1016
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L247">src/lib/device.ts:247</a></li></ul></aside></li></ul></section>
|
|
981
1017
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDeviceState" class="tsd-anchor"></a>
|
|
982
1018
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Device<wbr/>State</span><a href="#getDeviceState" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
983
1019
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -992,7 +1028,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
992
1028
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
993
1029
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVDeviceState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVDeviceState</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
994
1030
|
<ul>
|
|
995
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1031
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L277">src/lib/device.ts:277</a></li></ul></aside></li></ul></section>
|
|
996
1032
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getGenre" class="tsd-anchor"></a>
|
|
997
1033
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Genre</span><a href="#getGenre" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
998
1034
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1007,7 +1043,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1007
1043
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1008
1044
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1009
1045
|
<ul>
|
|
1010
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1046
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L317">src/lib/device.ts:317</a></li></ul></aside></li></ul></section>
|
|
1011
1047
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getHash" class="tsd-anchor"></a>
|
|
1012
1048
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Hash</span><a href="#getHash" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
1013
1049
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1022,7 +1058,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1022
1058
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1023
1059
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1024
1060
|
<ul>
|
|
1025
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1061
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L257">src/lib/device.ts:257</a></li></ul></aside></li></ul></section>
|
|
1026
1062
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMediaType" class="tsd-anchor"></a>
|
|
1027
1063
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Media<wbr/>Type</span><a href="#getMediaType" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
1028
1064
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1037,7 +1073,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1037
1073
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1038
1074
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVMediaType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVMediaType</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1039
1075
|
<ul>
|
|
1040
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1076
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L267">src/lib/device.ts:267</a></li></ul></aside></li></ul></section>
|
|
1041
1077
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPosition" class="tsd-anchor"></a>
|
|
1042
1078
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Position</span><a href="#getPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
1043
1079
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1052,7 +1088,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1052
1088
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1053
1089
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1054
1090
|
<ul>
|
|
1055
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1091
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L337">src/lib/device.ts:337</a></li></ul></aside></li></ul></section>
|
|
1056
1092
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getRepeat" class="tsd-anchor"></a>
|
|
1057
1093
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Repeat</span><a href="#getRepeat" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
1058
1094
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1067,7 +1103,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1067
1103
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1068
1104
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVRepeatState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVRepeatState</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1069
1105
|
<ul>
|
|
1070
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1106
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L357">src/lib/device.ts:357</a></li></ul></aside></li></ul></section>
|
|
1071
1107
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getShuffle" class="tsd-anchor"></a>
|
|
1072
1108
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Shuffle</span><a href="#getShuffle" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
1073
1109
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1082,7 +1118,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1082
1118
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1083
1119
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVShuffleState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVShuffleState</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1084
1120
|
<ul>
|
|
1085
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1121
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L347">src/lib/device.ts:347</a></li></ul></aside></li></ul></section>
|
|
1086
1122
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getState" class="tsd-anchor"></a>
|
|
1087
1123
|
<h3 class="tsd-anchor-link"><span>get<wbr/>State</span><a href="#getState" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
1088
1124
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1101,7 +1137,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1101
1137
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1102
1138
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1103
1139
|
<ul>
|
|
1104
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1140
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L200">src/lib/device.ts:200</a></li></ul></aside></li></ul></section>
|
|
1105
1141
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTitle" class="tsd-anchor"></a>
|
|
1106
1142
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Title</span><a href="#getTitle" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
1107
1143
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1116,7 +1152,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1116
1152
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1117
1153
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1118
1154
|
<ul>
|
|
1119
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1155
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L287">src/lib/device.ts:287</a></li></ul></aside></li></ul></section>
|
|
1120
1156
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTotalTime" class="tsd-anchor"></a>
|
|
1121
1157
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Total<wbr/>Time</span><a href="#getTotalTime" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
1122
1158
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1131,7 +1167,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1131
1167
|
<h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
1132
1168
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
1133
1169
|
<ul>
|
|
1134
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1170
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/680d1de/src/lib/device.ts#L327">src/lib/device.ts:327</a></li></ul></aside></li></ul></section></section></div>
|
|
1135
1171
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
1136
1172
|
<div class="tsd-navigation settings">
|
|
1137
1173
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -1149,7 +1185,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1149
1185
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
1150
1186
|
<div class="tsd-accordion-details">
|
|
1151
1187
|
<ul>
|
|
1152
|
-
<li><a href="../modules.html">node-<wbr/>pyatv -<wbr/>
|
|
1188
|
+
<li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v6.0.0-<wbr/>develop.2</a>
|
|
1153
1189
|
<ul></ul></li></ul></div></details></nav>
|
|
1154
1190
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
1155
1191
|
<ul>
|
|
@@ -1189,7 +1225,9 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1189
1225
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#getTotalTime" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Total<wbr/>Time</a></li>
|
|
1190
1226
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#home" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>home</a></li>
|
|
1191
1227
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#homeHold" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>home<wbr/>Hold</a></li>
|
|
1228
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#launchApp" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>launch<wbr/>App</a></li>
|
|
1192
1229
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#left" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>left</a></li>
|
|
1230
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#listApps" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>list<wbr/>Apps</a></li>
|
|
1193
1231
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#listenerCount" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>listener<wbr/>Count</a></li>
|
|
1194
1232
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#listeners" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>listeners</a></li>
|
|
1195
1233
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#menu" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>menu</a></li>
|