@sebbo2002/node-pyatv 5.1.2-develop.3 → 6.0.0-develop.1
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 +12 -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 +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 +2 -2
- package/docs/coverage/cobertura-coverage.xml +142 -139
- package/docs/coverage/device-event.ts.html +1 -1
- package/docs/coverage/device-events.ts.html +17 -8
- package/docs/coverage/device.ts.html +1 -1
- package/docs/coverage/fake-spawn.ts.html +1 -1
- package/docs/coverage/index.html +15 -15
- package/docs/coverage/index.ts.html +1 -1
- package/docs/coverage/instance.ts.html +1 -1
- package/docs/coverage/tools.ts.html +5 -5
- package/docs/coverage/types.ts.html +2 -2
- 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 +74 -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 +650 -650
- package/package.json +13 -13
- package/release.config.cjs +1 -6
- package/src/lib/device-events.ts +3 -0
- package/src/lib/tools.ts +1 -1
- package/src/lib/types.ts +1 -1
- 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.1</title><meta name="description" content="Documentation for node-pyatv - v6.0.0-develop.1"/><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.1</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.1</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/d06a8bc/src/lib/device.ts#L29">src/lib/device.ts:29</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">
|
|
@@ -137,7 +137,7 @@ It's also possible to send key commands by using <a href="NodePyATVDevice.ht
|
|
|
137
137
|
<h5>options: <a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a></h5></li></ul></div>
|
|
138
138
|
<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
139
|
<ul>
|
|
140
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
140
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L34">src/lib/device.ts:34</a></li></ul></aside></li></ul></section></section>
|
|
141
141
|
<section class="tsd-panel-group tsd-member-group">
|
|
142
142
|
<h2>Accessors</h2>
|
|
143
143
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="debug" class="tsd-anchor"></a>
|
|
@@ -151,7 +151,7 @@ log is disabled, returns undefined.</p>
|
|
|
151
151
|
</div>
|
|
152
152
|
<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
153
|
<ul>
|
|
154
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
154
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L144">src/lib/device.ts:144</a></li></ul></aside></li>
|
|
155
155
|
<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
156
|
<li class="tsd-description">
|
|
157
157
|
<div class="tsd-comment tsd-typography"><p>Enable or disable debugging or set a custom
|
|
@@ -164,7 +164,7 @@ debugging method to use.</p>
|
|
|
164
164
|
<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
165
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
166
166
|
<ul>
|
|
167
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
167
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L154">src/lib/device.ts:154</a></li></ul></aside></li></ul></section>
|
|
168
168
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="host" class="tsd-anchor"></a>
|
|
169
169
|
<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
170
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -174,7 +174,7 @@ debugging method to use.</p>
|
|
|
174
174
|
</div>
|
|
175
175
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
176
176
|
<ul>
|
|
177
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
177
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L60">src/lib/device.ts:60</a></li></ul></aside></li></ul></section>
|
|
178
178
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="id" class="tsd-anchor"></a>
|
|
179
179
|
<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
180
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -184,7 +184,7 @@ debugging method to use.</p>
|
|
|
184
184
|
</div>
|
|
185
185
|
<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
186
|
<ul>
|
|
187
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
187
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L67">src/lib/device.ts:67</a></li></ul></aside></li></ul></section>
|
|
188
188
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="model" class="tsd-anchor"></a>
|
|
189
189
|
<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
190
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -198,7 +198,7 @@ device was found using find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
198
198
|
</div>
|
|
199
199
|
<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
200
|
<ul>
|
|
201
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
201
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L84">src/lib/device.ts:84</a></li></ul></aside></li></ul></section>
|
|
202
202
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="modelName" class="tsd-anchor"></a>
|
|
203
203
|
<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
204
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -212,7 +212,7 @@ was found with find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
212
212
|
</div>
|
|
213
213
|
<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
214
|
<ul>
|
|
215
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
215
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L94">src/lib/device.ts:94</a></li></ul></aside></li></ul></section>
|
|
216
216
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="name" class="tsd-anchor"></a>
|
|
217
217
|
<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
218
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -224,7 +224,7 @@ was found with find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
224
224
|
</div>
|
|
225
225
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
226
226
|
<ul>
|
|
227
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
227
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L53">src/lib/device.ts:53</a></li></ul></aside></li></ul></section>
|
|
228
228
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="os" class="tsd-anchor"></a>
|
|
229
229
|
<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
230
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -238,7 +238,7 @@ device was found with find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
238
238
|
</div>
|
|
239
239
|
<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
240
|
<ul>
|
|
241
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
241
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L104">src/lib/device.ts:104</a></li></ul></aside></li></ul></section>
|
|
242
242
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="protocol" class="tsd-anchor"></a>
|
|
243
243
|
<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
244
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -248,7 +248,7 @@ device was found with find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
248
248
|
</div>
|
|
249
249
|
<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
250
|
<ul>
|
|
251
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
251
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L74">src/lib/device.ts:74</a></li></ul></aside></li></ul></section>
|
|
252
252
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="services" class="tsd-anchor"></a>
|
|
253
253
|
<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
254
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -263,7 +263,7 @@ pyatv ≧ 0.10.3.</p>
|
|
|
263
263
|
</div>
|
|
264
264
|
<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
265
|
<ul>
|
|
266
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
266
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L134">src/lib/device.ts:134</a></li></ul></aside></li></ul></section>
|
|
267
267
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a>
|
|
268
268
|
<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
269
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -277,7 +277,7 @@ during a scan using find(). Requires pyatv ≧ 0.10.3.</p>
|
|
|
277
277
|
</div>
|
|
278
278
|
<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
279
|
<ul>
|
|
280
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
280
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L114">src/lib/device.ts:114</a></li></ul></aside></li></ul></section></section>
|
|
281
281
|
<section class="tsd-panel-group tsd-member-group">
|
|
282
282
|
<h2>Basic Methods</h2>
|
|
283
283
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toJSON" class="tsd-anchor"></a>
|
|
@@ -299,7 +299,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
299
299
|
<li class="tsd-parameter">
|
|
300
300
|
<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
301
|
<ul>
|
|
302
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
302
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L169">src/lib/device.ts:169</a></li></ul></aside></li></ul></section>
|
|
303
303
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toString" class="tsd-anchor"></a>
|
|
304
304
|
<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
305
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -309,7 +309,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
309
309
|
</div>
|
|
310
310
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
311
311
|
<ul>
|
|
312
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
312
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L183">src/lib/device.ts:183</a></li></ul></aside></li></ul></section></section>
|
|
313
313
|
<section class="tsd-panel-group tsd-member-group">
|
|
314
314
|
<h2>Control Methods</h2>
|
|
315
315
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="down" class="tsd-anchor"></a>
|
|
@@ -321,7 +321,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
321
321
|
</div>
|
|
322
322
|
<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
323
|
<ul>
|
|
324
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
324
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L432">src/lib/device.ts:432</a></li></ul></aside></li></ul></section>
|
|
325
325
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="home" class="tsd-anchor"></a>
|
|
326
326
|
<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
327
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -331,7 +331,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
331
331
|
</div>
|
|
332
332
|
<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
333
|
<ul>
|
|
334
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
334
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L440">src/lib/device.ts:440</a></li></ul></aside></li></ul></section>
|
|
335
335
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="homeHold" class="tsd-anchor"></a>
|
|
336
336
|
<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
337
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -341,7 +341,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
341
341
|
</div>
|
|
342
342
|
<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
343
|
<ul>
|
|
344
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
344
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L448">src/lib/device.ts:448</a></li></ul></aside></li></ul></section>
|
|
345
345
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="left" class="tsd-anchor"></a>
|
|
346
346
|
<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
347
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -351,7 +351,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
351
351
|
</div>
|
|
352
352
|
<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
353
|
<ul>
|
|
354
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
354
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L456">src/lib/device.ts:456</a></li></ul></aside></li></ul></section>
|
|
355
355
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="menu" class="tsd-anchor"></a>
|
|
356
356
|
<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
357
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -361,7 +361,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
361
361
|
</div>
|
|
362
362
|
<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
363
|
<ul>
|
|
364
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
364
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L464">src/lib/device.ts:464</a></li></ul></aside></li></ul></section>
|
|
365
365
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="next" class="tsd-anchor"></a>
|
|
366
366
|
<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
367
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -371,7 +371,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
371
371
|
</div>
|
|
372
372
|
<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
373
|
<ul>
|
|
374
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
374
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L472">src/lib/device.ts:472</a></li></ul></aside></li></ul></section>
|
|
375
375
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="pause" class="tsd-anchor"></a>
|
|
376
376
|
<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
377
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -381,7 +381,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
381
381
|
</div>
|
|
382
382
|
<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
383
|
<ul>
|
|
384
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
384
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L480">src/lib/device.ts:480</a></li></ul></aside></li></ul></section>
|
|
385
385
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="play" class="tsd-anchor"></a>
|
|
386
386
|
<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
387
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -391,7 +391,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
391
391
|
</div>
|
|
392
392
|
<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
393
|
<ul>
|
|
394
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
394
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L488">src/lib/device.ts:488</a></li></ul></aside></li></ul></section>
|
|
395
395
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="playPause" class="tsd-anchor"></a>
|
|
396
396
|
<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
397
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -401,7 +401,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
401
401
|
</div>
|
|
402
402
|
<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
403
|
<ul>
|
|
404
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
404
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L496">src/lib/device.ts:496</a></li></ul></aside></li></ul></section>
|
|
405
405
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="pressKey" class="tsd-anchor"></a>
|
|
406
406
|
<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
407
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -422,7 +422,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
422
422
|
<h5>key: <a href="../enums/NodePyATVKeys.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVKeys</a></h5></li></ul></div>
|
|
423
423
|
<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
424
|
<ul>
|
|
425
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
425
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L412">src/lib/device.ts:412</a></li></ul></aside></li></ul></section>
|
|
426
426
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="previous" class="tsd-anchor"></a>
|
|
427
427
|
<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
428
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -432,7 +432,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
432
432
|
</div>
|
|
433
433
|
<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
434
|
<ul>
|
|
435
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
435
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L504">src/lib/device.ts:504</a></li></ul></aside></li></ul></section>
|
|
436
436
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="right" class="tsd-anchor"></a>
|
|
437
437
|
<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
438
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -442,7 +442,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
442
442
|
</div>
|
|
443
443
|
<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
444
|
<ul>
|
|
445
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
445
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L512">src/lib/device.ts:512</a></li></ul></aside></li></ul></section>
|
|
446
446
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="select" class="tsd-anchor"></a>
|
|
447
447
|
<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
448
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -452,7 +452,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
452
452
|
</div>
|
|
453
453
|
<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
454
|
<ul>
|
|
455
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
455
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L520">src/lib/device.ts:520</a></li></ul></aside></li></ul></section>
|
|
456
456
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="skipBackward" class="tsd-anchor"></a>
|
|
457
457
|
<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
458
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -462,7 +462,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
462
462
|
</div>
|
|
463
463
|
<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
464
|
<ul>
|
|
465
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
465
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L528">src/lib/device.ts:528</a></li></ul></aside></li></ul></section>
|
|
466
466
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="skipForward" class="tsd-anchor"></a>
|
|
467
467
|
<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
468
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -472,7 +472,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
472
472
|
</div>
|
|
473
473
|
<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
474
|
<ul>
|
|
475
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
475
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L536">src/lib/device.ts:536</a></li></ul></aside></li></ul></section>
|
|
476
476
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stop" class="tsd-anchor"></a>
|
|
477
477
|
<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
478
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -482,7 +482,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
482
482
|
</div>
|
|
483
483
|
<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
484
|
<ul>
|
|
485
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
485
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L544">src/lib/device.ts:544</a></li></ul></aside></li></ul></section>
|
|
486
486
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="suspend" class="tsd-anchor"></a>
|
|
487
487
|
<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
488
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -493,7 +493,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
493
493
|
<h3>Deprecated</h3></div>
|
|
494
494
|
<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
495
|
<ul>
|
|
496
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
496
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L553">src/lib/device.ts:553</a></li></ul></aside></li></ul></section>
|
|
497
497
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="topMenu" class="tsd-anchor"></a>
|
|
498
498
|
<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
499
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -503,7 +503,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
503
503
|
</div>
|
|
504
504
|
<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
505
|
<ul>
|
|
506
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
506
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L561">src/lib/device.ts:561</a></li></ul></aside></li></ul></section>
|
|
507
507
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="turnOff" class="tsd-anchor"></a>
|
|
508
508
|
<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
509
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -513,7 +513,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
513
513
|
</div>
|
|
514
514
|
<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
515
|
<ul>
|
|
516
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
516
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L602">src/lib/device.ts:602</a></li></ul></aside></li></ul></section>
|
|
517
517
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="turnOn" class="tsd-anchor"></a>
|
|
518
518
|
<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
519
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -523,7 +523,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
523
523
|
</div>
|
|
524
524
|
<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
525
|
<ul>
|
|
526
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
526
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L610">src/lib/device.ts:610</a></li></ul></aside></li></ul></section>
|
|
527
527
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="up" class="tsd-anchor"></a>
|
|
528
528
|
<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
529
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -533,7 +533,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
533
533
|
</div>
|
|
534
534
|
<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
535
|
<ul>
|
|
536
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
536
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L569">src/lib/device.ts:569</a></li></ul></aside></li></ul></section>
|
|
537
537
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="volumeDown" class="tsd-anchor"></a>
|
|
538
538
|
<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
539
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -543,7 +543,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
543
543
|
</div>
|
|
544
544
|
<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
545
|
<ul>
|
|
546
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
546
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L577">src/lib/device.ts:577</a></li></ul></aside></li></ul></section>
|
|
547
547
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="volumeUp" class="tsd-anchor"></a>
|
|
548
548
|
<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
549
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -553,7 +553,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
553
553
|
</div>
|
|
554
554
|
<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
555
|
<ul>
|
|
556
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
556
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L585">src/lib/device.ts:585</a></li></ul></aside></li></ul></section>
|
|
557
557
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="wakeup" class="tsd-anchor"></a>
|
|
558
558
|
<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
559
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -564,7 +564,7 @@ Can be used to initiate a new device instance.</p>
|
|
|
564
564
|
<h3>Deprecated</h3></div>
|
|
565
565
|
<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
566
|
<ul>
|
|
567
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
567
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L594">src/lib/device.ts:594</a></li></ul></aside></li></ul></section></section>
|
|
568
568
|
<section class="tsd-panel-group tsd-member-group">
|
|
569
569
|
<h2>Event Methods</h2>
|
|
570
570
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addListener" class="tsd-anchor"></a>
|
|
@@ -596,7 +596,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
596
596
|
<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
597
|
<p>Implementation of EventEmitter.addListener</p>
|
|
598
598
|
<ul>
|
|
599
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
599
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L621">src/lib/device.ts:621</a></li></ul></aside></li></ul></section>
|
|
600
600
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="emit" class="tsd-anchor"></a>
|
|
601
601
|
<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
602
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -614,7 +614,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
614
614
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
615
615
|
<p>Implementation of EventEmitter.emit</p>
|
|
616
616
|
<ul>
|
|
617
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
617
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L632">src/lib/device.ts:632</a></li></ul></aside></li></ul></section>
|
|
618
618
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="eventNames" class="tsd-anchor"></a>
|
|
619
619
|
<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
620
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -625,7 +625,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
625
625
|
<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
626
|
<p>Implementation of EventEmitter.eventNames</p>
|
|
627
627
|
<ul>
|
|
628
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
628
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L640">src/lib/device.ts:640</a></li></ul></aside></li></ul></section>
|
|
629
629
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMaxListeners" class="tsd-anchor"></a>
|
|
630
630
|
<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
631
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -636,7 +636,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
636
636
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
637
637
|
<p>Implementation of EventEmitter.getMaxListeners</p>
|
|
638
638
|
<ul>
|
|
639
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
639
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L648">src/lib/device.ts:648</a></li></ul></aside></li></ul></section>
|
|
640
640
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listenerCount" class="tsd-anchor"></a>
|
|
641
641
|
<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
642
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -652,7 +652,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
652
652
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
653
653
|
<p>Implementation of EventEmitter.listenerCount</p>
|
|
654
654
|
<ul>
|
|
655
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
655
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L657">src/lib/device.ts:657</a></li></ul></aside></li></ul></section>
|
|
656
656
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listeners" class="tsd-anchor"></a>
|
|
657
657
|
<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
658
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -669,7 +669,7 @@ node-pyatv wrappers (e.g. once)</p>
|
|
|
669
669
|
<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
670
|
<p>Implementation of EventEmitter.listeners</p>
|
|
671
671
|
<ul>
|
|
672
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
672
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L669">src/lib/device.ts:669</a></li></ul></aside></li></ul></section>
|
|
673
673
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="off" class="tsd-anchor"></a>
|
|
674
674
|
<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
675
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -699,7 +699,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
699
699
|
<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
700
|
<p>Implementation of EventEmitter.off</p>
|
|
701
701
|
<ul>
|
|
702
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
702
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L680">src/lib/device.ts:680</a></li></ul></aside></li></ul></section>
|
|
703
703
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="on" class="tsd-anchor"></a>
|
|
704
704
|
<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
705
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -729,7 +729,7 @@ Apple TV as long as there are listeners for any event registered.</p>
|
|
|
729
729
|
<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
730
|
<p>Implementation of EventEmitter.on</p>
|
|
731
731
|
<ul>
|
|
732
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
732
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L692">src/lib/device.ts:692</a></li></ul></aside></li></ul></section>
|
|
733
733
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="once" class="tsd-anchor"></a>
|
|
734
734
|
<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
735
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -760,7 +760,7 @@ Removes the listener automatically after the first occurrence.</p>
|
|
|
760
760
|
<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
761
|
<p>Implementation of EventEmitter.once</p>
|
|
762
762
|
<ul>
|
|
763
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
763
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L705">src/lib/device.ts:705</a></li></ul></aside></li></ul></section>
|
|
764
764
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="prependListener" class="tsd-anchor"></a>
|
|
765
765
|
<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
766
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -787,7 +787,7 @@ Removes the listener automatically after the first occurrence.</p>
|
|
|
787
787
|
<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
788
|
<p>Implementation of EventEmitter.prependListener</p>
|
|
789
789
|
<ul>
|
|
790
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
790
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L715">src/lib/device.ts:715</a></li></ul></aside></li></ul></section>
|
|
791
791
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="prependOnceListener" class="tsd-anchor"></a>
|
|
792
792
|
<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
793
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -814,7 +814,7 @@ Removes the listener automatically after the first occurrence.</p>
|
|
|
814
814
|
<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
815
|
<p>Implementation of EventEmitter.prependOnceListener</p>
|
|
816
816
|
<ul>
|
|
817
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
817
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L725">src/lib/device.ts:725</a></li></ul></aside></li></ul></section>
|
|
818
818
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="rawListeners" class="tsd-anchor"></a>
|
|
819
819
|
<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
820
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -828,7 +828,7 @@ Removes the listener automatically after the first occurrence.</p>
|
|
|
828
828
|
<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
829
|
<p>Implementation of EventEmitter.rawListeners</p>
|
|
830
830
|
<ul>
|
|
831
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
831
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L735">src/lib/device.ts:735</a></li></ul></aside></li></ul></section>
|
|
832
832
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeAllListeners" class="tsd-anchor"></a>
|
|
833
833
|
<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
834
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -846,7 +846,7 @@ the Apple TV if this was the last event listener.</p>
|
|
|
846
846
|
<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
847
|
<p>Implementation of EventEmitter.removeAllListeners</p>
|
|
848
848
|
<ul>
|
|
849
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
849
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L747">src/lib/device.ts:747</a></li></ul></aside></li></ul></section>
|
|
850
850
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeListener" class="tsd-anchor"></a>
|
|
851
851
|
<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
852
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -876,7 +876,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
876
876
|
<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
877
|
<p>Implementation of EventEmitter.removeListener</p>
|
|
878
878
|
<ul>
|
|
879
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
879
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L759">src/lib/device.ts:759</a></li></ul></aside></li></ul></section>
|
|
880
880
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setMaxListeners" class="tsd-anchor"></a>
|
|
881
881
|
<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
882
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -890,7 +890,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
890
890
|
<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
891
|
<p>Implementation of EventEmitter.setMaxListeners</p>
|
|
892
892
|
<ul>
|
|
893
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
893
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L768">src/lib/device.ts:768</a></li></ul></aside></li></ul></section></section>
|
|
894
894
|
<section class="tsd-panel-group tsd-member-group">
|
|
895
895
|
<h2>State Methods</h2>
|
|
896
896
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="clearState" class="tsd-anchor"></a>
|
|
@@ -902,7 +902,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
902
902
|
</div>
|
|
903
903
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
904
904
|
<ul>
|
|
905
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
905
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L233">src/lib/device.ts:233</a></li></ul></aside></li></ul></section>
|
|
906
906
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAlbum" class="tsd-anchor"></a>
|
|
907
907
|
<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
908
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -917,7 +917,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
917
917
|
<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
918
|
<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
919
|
<ul>
|
|
920
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
920
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L306">src/lib/device.ts:306</a></li></ul></aside></li></ul></section>
|
|
921
921
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getApp" class="tsd-anchor"></a>
|
|
922
922
|
<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
923
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -932,7 +932,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
932
932
|
<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
933
|
<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
934
|
<ul>
|
|
935
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
935
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L366">src/lib/device.ts:366</a></li></ul></aside></li></ul></section>
|
|
936
936
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAppId" class="tsd-anchor"></a>
|
|
937
937
|
<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
938
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -947,7 +947,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
947
947
|
<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
948
|
<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
949
|
<ul>
|
|
950
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
950
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L376">src/lib/device.ts:376</a></li></ul></aside></li></ul></section>
|
|
951
951
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getArtist" class="tsd-anchor"></a>
|
|
952
952
|
<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
953
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -962,7 +962,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
962
962
|
<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
963
|
<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
964
|
<ul>
|
|
965
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
965
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L296">src/lib/device.ts:296</a></li></ul></aside></li></ul></section>
|
|
966
966
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDateTime" class="tsd-anchor"></a>
|
|
967
967
|
<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
968
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -977,7 +977,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
977
977
|
<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
978
|
<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
979
|
<ul>
|
|
980
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
980
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L246">src/lib/device.ts:246</a></li></ul></aside></li></ul></section>
|
|
981
981
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDeviceState" class="tsd-anchor"></a>
|
|
982
982
|
<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
983
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -992,7 +992,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
992
992
|
<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
993
|
<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
994
|
<ul>
|
|
995
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
995
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L276">src/lib/device.ts:276</a></li></ul></aside></li></ul></section>
|
|
996
996
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getGenre" class="tsd-anchor"></a>
|
|
997
997
|
<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
998
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1007,7 +1007,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1007
1007
|
<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
1008
|
<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
1009
|
<ul>
|
|
1010
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1010
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L316">src/lib/device.ts:316</a></li></ul></aside></li></ul></section>
|
|
1011
1011
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getHash" class="tsd-anchor"></a>
|
|
1012
1012
|
<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
1013
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1022,7 +1022,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1022
1022
|
<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
1023
|
<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
1024
|
<ul>
|
|
1025
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1025
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L256">src/lib/device.ts:256</a></li></ul></aside></li></ul></section>
|
|
1026
1026
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMediaType" class="tsd-anchor"></a>
|
|
1027
1027
|
<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
1028
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1037,7 +1037,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1037
1037
|
<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
1038
|
<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
1039
|
<ul>
|
|
1040
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1040
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L266">src/lib/device.ts:266</a></li></ul></aside></li></ul></section>
|
|
1041
1041
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPosition" class="tsd-anchor"></a>
|
|
1042
1042
|
<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
1043
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1052,7 +1052,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1052
1052
|
<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
1053
|
<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
1054
|
<ul>
|
|
1055
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1055
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L336">src/lib/device.ts:336</a></li></ul></aside></li></ul></section>
|
|
1056
1056
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getRepeat" class="tsd-anchor"></a>
|
|
1057
1057
|
<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
1058
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1067,7 +1067,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1067
1067
|
<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
1068
|
<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
1069
|
<ul>
|
|
1070
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1070
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L356">src/lib/device.ts:356</a></li></ul></aside></li></ul></section>
|
|
1071
1071
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getShuffle" class="tsd-anchor"></a>
|
|
1072
1072
|
<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
1073
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1082,7 +1082,7 @@ Apple TV if this was the last event listener.</p>
|
|
|
1082
1082
|
<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
1083
|
<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
1084
|
<ul>
|
|
1085
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1085
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L346">src/lib/device.ts:346</a></li></ul></aside></li></ul></section>
|
|
1086
1086
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getState" class="tsd-anchor"></a>
|
|
1087
1087
|
<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
1088
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1101,7 +1101,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1101
1101
|
<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
1102
|
<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
1103
|
<ul>
|
|
1104
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1104
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L199">src/lib/device.ts:199</a></li></ul></aside></li></ul></section>
|
|
1105
1105
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTitle" class="tsd-anchor"></a>
|
|
1106
1106
|
<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
1107
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1116,7 +1116,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1116
1116
|
<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
1117
|
<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
1118
|
<ul>
|
|
1119
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1119
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L286">src/lib/device.ts:286</a></li></ul></aside></li></ul></section>
|
|
1120
1120
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTotalTime" class="tsd-anchor"></a>
|
|
1121
1121
|
<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
1122
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -1131,7 +1131,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1131
1131
|
<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
1132
|
<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
1133
|
<ul>
|
|
1134
|
-
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/
|
|
1134
|
+
<li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/d06a8bc/src/lib/device.ts#L326">src/lib/device.ts:326</a></li></ul></aside></li></ul></section></section></div>
|
|
1135
1135
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
1136
1136
|
<div class="tsd-navigation settings">
|
|
1137
1137
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -1149,7 +1149,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
|
|
|
1149
1149
|
<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
1150
|
<div class="tsd-accordion-details">
|
|
1151
1151
|
<ul>
|
|
1152
|
-
<li><a href="../modules.html">node-<wbr/>pyatv -<wbr/>
|
|
1152
|
+
<li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v6.0.0-<wbr/>develop.1</a>
|
|
1153
1153
|
<ul></ul></li></ul></div></details></nav>
|
|
1154
1154
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
1155
1155
|
<ul>
|