From 9c293a4ce29e2162f64caa73ca4bea2ec86489ce Mon Sep 17 00:00:00 2001 From: GH Actions Docs Builder Date: Tue, 11 Apr 2023 18:55:32 +0000 Subject: [PATCH] Deploy website - based on 385919619a5be2807b9533292e95b27b4c9f4ee2 --- 404.html | 4 ++-- assets/js/{031dc046.0787bcec.js => 031dc046.617db17d.js} | 2 +- assets/js/0951e901.662f5d19.js | 1 + assets/js/0951e901.ab2b3b04.js | 1 - assets/js/10f76bbd.6b61bdcc.js | 1 - assets/js/10f76bbd.95aa8803.js | 1 + assets/js/{15560a88.12783fed.js => 15560a88.bd340688.js} | 2 +- assets/js/16b2da92.3682fd16.js | 1 - assets/js/16b2da92.e600ad61.js | 1 + assets/js/18116e9d.6d33a6c6.js | 1 - assets/js/18116e9d.cd37bb39.js | 1 + assets/js/{1aaf601c.4a5d6ca5.js => 1aaf601c.46beed2d.js} | 2 +- assets/js/{1f220079.0fbd54b5.js => 1f220079.a4b6d58b.js} | 2 +- assets/js/{22a09cbf.6d470236.js => 22a09cbf.ddb6c2d1.js} | 2 +- assets/js/{25bfd71f.ef0c3889.js => 25bfd71f.b3efefff.js} | 2 +- assets/js/266dfd57.26cd1574.js | 1 - assets/js/266dfd57.e6e2698b.js | 1 + assets/js/27d9d47d.6b8b97da.js | 1 - assets/js/27d9d47d.c1bf6ddd.js | 1 + assets/js/{2851a227.59670526.js => 2851a227.4c4fe0c0.js} | 2 +- assets/js/{293befc8.6c2599e2.js => 293befc8.3dc6d517.js} | 2 +- assets/js/35214713.6a1ee98d.js | 1 + assets/js/35214713.9bbdacf4.js | 1 - assets/js/{3abe8fb9.26d220ac.js => 3abe8fb9.d2136de9.js} | 2 +- assets/js/3c5916b7.7e467314.js | 1 - assets/js/3c5916b7.9ca2f118.js | 1 + assets/js/516486bd.53f75b80.js | 1 + assets/js/516486bd.c226df3a.js | 1 - assets/js/52804278.020d870b.js | 1 - assets/js/52804278.f224a0d4.js | 1 + assets/js/{6373637a.0737f5a1.js => 6373637a.217cb7f6.js} | 2 +- assets/js/67d5074e.1b0837a7.js | 1 + assets/js/67d5074e.efc78231.js | 1 - assets/js/700347c0.01d36d88.js | 1 - assets/js/700347c0.bd073b4d.js | 1 + assets/js/{73139ff1.16dc0d74.js => 73139ff1.16d3778c.js} | 2 +- assets/js/755cfc2e.50ce2ea0.js | 1 + assets/js/755cfc2e.ef0238aa.js | 1 - assets/js/{8581bb41.af00336c.js => 8581bb41.0cad5a39.js} | 2 +- assets/js/{8ddd655f.645ce97f.js => 8ddd655f.af8d9697.js} | 2 +- assets/js/{9008bace.92c97753.js => 9008bace.55bf9ac3.js} | 2 +- assets/js/902b04f6.4347f3eb.js | 1 - assets/js/902b04f6.c04d69cf.js | 1 + assets/js/92bb876c.c2563d06.js | 1 + assets/js/92bb876c.d69ad758.js | 1 - assets/js/{9ed00105.e27263f9.js => 9ed00105.fd09784c.js} | 2 +- assets/js/a09c2993.0091e99b.js | 1 - assets/js/a09c2993.5c6f5a6b.js | 1 + assets/js/a1189d06.0c81e356.js | 1 + assets/js/a1189d06.a00c0389.js | 1 - assets/js/{b5ab5f4e.fce1697d.js => b5ab5f4e.b2e6b74c.js} | 2 +- assets/js/bbb8f1f8.21e4ede3.js | 1 + assets/js/bbb8f1f8.400d67dd.js | 1 - assets/js/{cd5a7ece.bee1668f.js => cd5a7ece.062ea943.js} | 2 +- assets/js/d0e245df.9e34a1f3.js | 1 + assets/js/d0e245df.ebfd1819.js | 1 - assets/js/d85a39be.55cfcdd5.js | 1 + assets/js/d85a39be.647aed6f.js | 1 - assets/js/dd053733.1d1d9908.js | 1 + assets/js/dd053733.47bdb43e.js | 1 - assets/js/{e02badcb.20134a5a.js => e02badcb.88fbfe9c.js} | 2 +- assets/js/e06aacec.5250ec45.js | 1 - assets/js/e06aacec.b13b5916.js | 1 + assets/js/e27d08ab.00a8da7d.js | 1 + assets/js/e27d08ab.d05fd702.js | 1 - assets/js/e3c15a47.3f504d52.js | 1 - assets/js/e3c15a47.ab4e2c01.js | 1 + assets/js/{e6afeee9.8a0c5d64.js => e6afeee9.98bdb0d6.js} | 2 +- assets/js/{e8057f2a.ef16059f.js => e8057f2a.c564e9e0.js} | 2 +- assets/js/fbd836ef.10cbf685.js | 1 + assets/js/fbd836ef.e952aeb5.js | 1 - .../{runtime~main.469551bc.js => runtime~main.8d904310.js} | 2 +- docs/5.1.1/auth/authorization_code/index.html | 6 +++--- docs/5.1.1/auth/client_credentials/index.html | 6 +++--- docs/5.1.1/auth/getting_started/index.html | 6 +++--- docs/5.1.1/auth/implicit_grant/index.html | 6 +++--- docs/5.1.1/auth/token_swap/index.html | 6 +++--- docs/5.1.1/home/index.html | 6 +++--- docs/5.1.1/web/albums/index.html | 6 +++--- docs/5.1.1/web/artists/index.html | 6 +++--- docs/5.1.1/web/browse/index.html | 6 +++--- docs/5.1.1/web/follow/index.html | 6 +++--- docs/5.1.1/web/getting_started/index.html | 6 +++--- docs/5.1.1/web/library/index.html | 6 +++--- docs/5.1.1/web/personalization/index.html | 6 +++--- docs/5.1.1/web/player/index.html | 6 +++--- docs/5.1.1/web/playlists/index.html | 6 +++--- docs/5.1.1/web/profiles/index.html | 6 +++--- docs/5.1.1/web/proxy/index.html | 6 +++--- docs/5.1.1/web/search/index.html | 6 +++--- docs/5.1.1/web/tracks/index.html | 6 +++--- docs/5.1.1/web/utilities/index.html | 6 +++--- docs/5_to_6/index.html | 6 +++--- docs/auth_introduction/index.html | 6 +++--- docs/authorization_code/index.html | 6 +++--- docs/client_credentials/index.html | 6 +++--- docs/configuration/index.html | 6 +++--- docs/error_handling/index.html | 6 +++--- docs/example_asp/index.html | 6 +++--- docs/example_blazor/index.html | 6 +++--- docs/example_blazor_wasm/index.html | 6 +++--- docs/example_cli_custom_html/index.html | 6 +++--- docs/example_cli_persistent_config/index.html | 6 +++--- docs/example_token_swap/index.html | 6 +++--- docs/example_uwp/index.html | 6 +++--- docs/getting_started/index.html | 6 +++--- docs/implicit_grant/index.html | 6 +++--- docs/introduction/index.html | 6 +++--- docs/iplayableitem/index.html | 6 +++--- docs/logging/index.html | 6 +++--- docs/pagination/index.html | 6 +++--- docs/pkce/index.html | 6 +++--- docs/proxy/index.html | 6 +++--- docs/retry_handling/index.html | 6 +++--- docs/showcase/index.html | 6 +++--- docs/token_swap/index.html | 6 +++--- docs/unit_testing/index.html | 6 +++--- index.html | 4 ++-- 118 files changed, 185 insertions(+), 185 deletions(-) rename assets/js/{031dc046.0787bcec.js => 031dc046.617db17d.js} (55%) create mode 100644 assets/js/0951e901.662f5d19.js delete mode 100644 assets/js/0951e901.ab2b3b04.js delete mode 100644 assets/js/10f76bbd.6b61bdcc.js create mode 100644 assets/js/10f76bbd.95aa8803.js rename assets/js/{15560a88.12783fed.js => 15560a88.bd340688.js} (54%) delete mode 100644 assets/js/16b2da92.3682fd16.js create mode 100644 assets/js/16b2da92.e600ad61.js delete mode 100644 assets/js/18116e9d.6d33a6c6.js create mode 100644 assets/js/18116e9d.cd37bb39.js rename assets/js/{1aaf601c.4a5d6ca5.js => 1aaf601c.46beed2d.js} (51%) rename assets/js/{1f220079.0fbd54b5.js => 1f220079.a4b6d58b.js} (69%) rename assets/js/{22a09cbf.6d470236.js => 22a09cbf.ddb6c2d1.js} (63%) rename assets/js/{25bfd71f.ef0c3889.js => 25bfd71f.b3efefff.js} (59%) delete mode 100644 assets/js/266dfd57.26cd1574.js create mode 100644 assets/js/266dfd57.e6e2698b.js delete mode 100644 assets/js/27d9d47d.6b8b97da.js create mode 100644 assets/js/27d9d47d.c1bf6ddd.js rename assets/js/{2851a227.59670526.js => 2851a227.4c4fe0c0.js} (60%) rename assets/js/{293befc8.6c2599e2.js => 293befc8.3dc6d517.js} (58%) create mode 100644 assets/js/35214713.6a1ee98d.js delete mode 100644 assets/js/35214713.9bbdacf4.js rename assets/js/{3abe8fb9.26d220ac.js => 3abe8fb9.d2136de9.js} (60%) delete mode 100644 assets/js/3c5916b7.7e467314.js create mode 100644 assets/js/3c5916b7.9ca2f118.js create mode 100644 assets/js/516486bd.53f75b80.js delete mode 100644 assets/js/516486bd.c226df3a.js delete mode 100644 assets/js/52804278.020d870b.js create mode 100644 assets/js/52804278.f224a0d4.js rename assets/js/{6373637a.0737f5a1.js => 6373637a.217cb7f6.js} (54%) create mode 100644 assets/js/67d5074e.1b0837a7.js delete mode 100644 assets/js/67d5074e.efc78231.js delete mode 100644 assets/js/700347c0.01d36d88.js create mode 100644 assets/js/700347c0.bd073b4d.js rename assets/js/{73139ff1.16dc0d74.js => 73139ff1.16d3778c.js} (62%) create mode 100644 assets/js/755cfc2e.50ce2ea0.js delete mode 100644 assets/js/755cfc2e.ef0238aa.js rename assets/js/{8581bb41.af00336c.js => 8581bb41.0cad5a39.js} (69%) rename assets/js/{8ddd655f.645ce97f.js => 8ddd655f.af8d9697.js} (76%) rename assets/js/{9008bace.92c97753.js => 9008bace.55bf9ac3.js} (63%) delete mode 100644 assets/js/902b04f6.4347f3eb.js create mode 100644 assets/js/902b04f6.c04d69cf.js create mode 100644 assets/js/92bb876c.c2563d06.js delete mode 100644 assets/js/92bb876c.d69ad758.js rename assets/js/{9ed00105.e27263f9.js => 9ed00105.fd09784c.js} (50%) delete mode 100644 assets/js/a09c2993.0091e99b.js create mode 100644 assets/js/a09c2993.5c6f5a6b.js create mode 100644 assets/js/a1189d06.0c81e356.js delete mode 100644 assets/js/a1189d06.a00c0389.js rename assets/js/{b5ab5f4e.fce1697d.js => b5ab5f4e.b2e6b74c.js} (67%) create mode 100644 assets/js/bbb8f1f8.21e4ede3.js delete mode 100644 assets/js/bbb8f1f8.400d67dd.js rename assets/js/{cd5a7ece.bee1668f.js => cd5a7ece.062ea943.js} (71%) create mode 100644 assets/js/d0e245df.9e34a1f3.js delete mode 100644 assets/js/d0e245df.ebfd1819.js create mode 100644 assets/js/d85a39be.55cfcdd5.js delete mode 100644 assets/js/d85a39be.647aed6f.js create mode 100644 assets/js/dd053733.1d1d9908.js delete mode 100644 assets/js/dd053733.47bdb43e.js rename assets/js/{e02badcb.20134a5a.js => e02badcb.88fbfe9c.js} (86%) delete mode 100644 assets/js/e06aacec.5250ec45.js create mode 100644 assets/js/e06aacec.b13b5916.js create mode 100644 assets/js/e27d08ab.00a8da7d.js delete mode 100644 assets/js/e27d08ab.d05fd702.js delete mode 100644 assets/js/e3c15a47.3f504d52.js create mode 100644 assets/js/e3c15a47.ab4e2c01.js rename assets/js/{e6afeee9.8a0c5d64.js => e6afeee9.98bdb0d6.js} (65%) rename assets/js/{e8057f2a.ef16059f.js => e8057f2a.c564e9e0.js} (53%) create mode 100644 assets/js/fbd836ef.10cbf685.js delete mode 100644 assets/js/fbd836ef.e952aeb5.js rename assets/js/{runtime~main.469551bc.js => runtime~main.8d904310.js} (58%) diff --git a/404.html b/404.html index c3222aab..1100123b 100644 --- a/404.html +++ b/404.html @@ -4,13 +4,13 @@ Page Not Found | SpotifyAPI-NET - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/assets/js/031dc046.0787bcec.js b/assets/js/031dc046.617db17d.js similarity index 55% rename from assets/js/031dc046.0787bcec.js rename to assets/js/031dc046.617db17d.js index 77df53b5..2fc9bb1f 100644 --- a/assets/js/031dc046.0787bcec.js +++ b/assets/js/031dc046.617db17d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[1918],{3905:function(e,t,r){r.d(t,{Zo:function(){return c},kt:function(){return d}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),m=p(r),d=o,f=m["".concat(s,".").concat(d)]||m[d]||u[d]||a;return r?n.createElement(f,i(i({ref:t},c),{},{components:r})):n.createElement(f,i({ref:t},c))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=m;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l.mdxType="string"==typeof e?e:o,i[1]=l;for(var p=2;p wwwroot/appsettings.json\ndotnet run\n\n# Visit https://localhost:5001\n')))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[1918],{3905:function(e,t,r){r.d(t,{Zo:function(){return c},kt:function(){return d}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),m=p(r),d=o,f=m["".concat(s,".").concat(d)]||m[d]||u[d]||a;return r?n.createElement(f,i(i({ref:t},c),{},{components:r})):n.createElement(f,i({ref:t},c))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=m;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l.mdxType="string"==typeof e?e:o,i[1]=l;for(var p=2;p wwwroot/appsettings.json\ndotnet run\n\n# Visit https://localhost:5001\n')))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0951e901.662f5d19.js b/assets/js/0951e901.662f5d19.js new file mode 100644 index 00000000..c1c36e22 --- /dev/null +++ b/assets/js/0951e901.662f5d19.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[8790],{3905:function(e,t,a){a.d(t,{Zo:function(){return u},kt:function(){return d}});var n=a(7294);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),k=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},u=function(e){var t=k(e.components);return n.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,l=e.originalType,o=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),m=k(a),d=r,c=m["".concat(o,".").concat(d)]||m[d]||s[d]||l;return a?n.createElement(c,p(p({ref:t},u),{},{components:a})):n.createElement(c,p({ref:t},u))}));function d(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=a.length,p=new Array(l);p[0]=m;var i={};for(var o in t)hasOwnProperty.call(t,o)&&(i[o]=t[o]);i.originalType=e,i.mdxType="string"==typeof e?e:r,p[1]=i;for(var k=2;k Console.WriteLine(device.Name));\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"getplayback"},"GetPlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Get information about the user\u2019s current playback state, including track, track progress, and active device.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[market]"),(0,l.kt)("td",{parentName:"tr",align:null},"An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"DE"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"PlaybackContext context = _spotify.GetPlayback();\nif(context.Item != null)\n Console.WriteLine(context.Item.Name)); //Print the current song\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"getplayingtrack"},"GetPlayingTrack"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Get the object currently being played on the user\u2019s Spotify account.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[market]"),(0,l.kt)("td",{parentName:"tr",align:null},"An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"DE"'))))),(0,l.kt)("p",null,"This is a simpler (less data) version of ",(0,l.kt)("inlineCode",{parentName:"p"},"GetPlayback")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"PlaybackContext context = _spotify.GetPlayingTrack();\nif(context.Item != null)\n Console.WriteLine(context.Item.Name)); //Print the current song\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"transferplayback"},"TransferPlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Transfer playback to a new device and determine if it should start playing.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"deviceIds or deviceId"),(0,l.kt)("td",{parentName:"tr",align:null},"A JSON array containing the ID of the device on which playback should be started/transferred"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"play"),(0,l.kt)("td",{parentName:"tr",align:null},"true: ensure playback happens on new device, false: keep current playback state"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"true"))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},'ErrorResponse error = _spotify.TransferPlayback("XXXX-XXXX-XXXX-XXXX");\n')),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"resumeplayback"},"ResumePlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Start a new context or resume current playback on the user\u2019s active device.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"contextUri"),(0,l.kt)("td",{parentName:"tr",align:null},"Spotify URI of the context to play"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"spotify:album:1Je1IMUlBXcx1Fz0WE7oPT"'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"uris"),(0,l.kt)("td",{parentName:"tr",align:null},"An array of the Spotify track URIs to play."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'new List { "spotify:track:4iV5W9uYEdYUVa79Axb7Rh" }'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"offset"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates from where in the context playback should start. Only available when context_uri corresponds to an album or playlist object, or when the uris parameter is used."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"0"))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},'ErrorResponse error = _spotify.ResumePlayback(uris: new List { "spotify:track:4iV5W9uYEdYUVa79Axb7Rh" });\n')),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"pauseplayback"},"PausePlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Pause playback on the user\u2019s account.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.PausePlayback();\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"skipplaybacktonext"},"SkipPlaybackToNext"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Skips to next track in the user\u2019s queue.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SkipPlaybackToNext();\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"skipplaybacktoprevious"},"SkipPlaybackToPrevious"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Skips to previous track in the user\u2019s queue.\nNote that this will ALWAYS skip to the previous track, regardless of the current track\u2019s progress.\nReturning to the start of the current track should be performed using the ",(0,l.kt)("a",{parentName:"p",href:"https://api.spotify.com/v1/me/player/seek"},"https://api.spotify.com/v1/me/player/seek")," endpoint.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SkipPlaybackToPrevious();\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"seekplayback"},"SeekPlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Seeks to the given position in the user\u2019s currently playing track.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"positionMs"),(0,l.kt)("td",{parentName:"tr",align:null},"The position in milliseconds to seek to. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"50"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SeekPlayback(50);\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"setrepeatmode"},"SetRepeatMode"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Set the repeat mode for the user\u2019s playback. Options are repeat-track, repeat-context, and off.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"state"),(0,l.kt)("td",{parentName:"tr",align:null},"track, context or off."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"RepeatState.Track"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SetRepeatMode(RepeatState.Track);\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"setvolume"},"SetVolume"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Set the volume for the user\u2019s current playback device.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"volumePercent"),(0,l.kt)("td",{parentName:"tr",align:null},"Integer. The volume to set. Must be a value from 0 to 100 inclusive."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"50"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SetVolume(50);\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"setshuffle"},"SetShuffle"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Toggle shuffle on or off for user\u2019s playback.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"shuffle"),(0,l.kt)("td",{parentName:"tr",align:null},"True or False"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SetShuffle(false);\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"addtoqueue"},"AddToQueue"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Add an Item to the User's Playback Queue. BETA.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"uri"),(0,l.kt)("td",{parentName:"tr",align:null},"The uri of the item to add to the queue. Must be a track or an episode uri."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"spotify:track:7zrCVKp6x0AtolOsn2iMif"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},'ErrorResponse error = _spotify.AddToQueue("spotify:track:7zrCVKp6x0AtolOsn2iMif");\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0951e901.ab2b3b04.js b/assets/js/0951e901.ab2b3b04.js deleted file mode 100644 index f857f8dc..00000000 --- a/assets/js/0951e901.ab2b3b04.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[8790],{3905:function(e,t,a){a.d(t,{Zo:function(){return u},kt:function(){return d}});var n=a(7294);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),k=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},u=function(e){var t=k(e.components);return n.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,l=e.originalType,o=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),m=k(a),d=r,c=m["".concat(o,".").concat(d)]||m[d]||s[d]||l;return a?n.createElement(c,p(p({ref:t},u),{},{components:a})):n.createElement(c,p({ref:t},u))}));function d(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=a.length,p=new Array(l);p[0]=m;var i={};for(var o in t)hasOwnProperty.call(t,o)&&(i[o]=t[o]);i.originalType=e,i.mdxType="string"==typeof e?e:r,p[1]=i;for(var k=2;k Console.WriteLine(device.Name));\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"getplayback"},"GetPlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Get information about the user\u2019s current playback state, including track, track progress, and active device.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[market]"),(0,l.kt)("td",{parentName:"tr",align:null},"An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"DE"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"PlaybackContext context = _spotify.GetPlayback();\nif(context.Item != null)\n Console.WriteLine(context.Item.Name)); //Print the current song\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"getplayingtrack"},"GetPlayingTrack"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Get the object currently being played on the user\u2019s Spotify account.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[market]"),(0,l.kt)("td",{parentName:"tr",align:null},"An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"DE"'))))),(0,l.kt)("p",null,"This is a simpler (less data) version of ",(0,l.kt)("inlineCode",{parentName:"p"},"GetPlayback")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"PlaybackContext context = _spotify.GetPlayingTrack();\nif(context.Item != null)\n Console.WriteLine(context.Item.Name)); //Print the current song\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"transferplayback"},"TransferPlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Transfer playback to a new device and determine if it should start playing.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"deviceIds or deviceId"),(0,l.kt)("td",{parentName:"tr",align:null},"A JSON array containing the ID of the device on which playback should be started/transferred"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"play"),(0,l.kt)("td",{parentName:"tr",align:null},"true: ensure playback happens on new device, false: keep current playback state"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"true"))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},'ErrorResponse error = _spotify.TransferPlayback("XXXX-XXXX-XXXX-XXXX");\n')),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"resumeplayback"},"ResumePlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Start a new context or resume current playback on the user\u2019s active device.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"contextUri"),(0,l.kt)("td",{parentName:"tr",align:null},"Spotify URI of the context to play"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"spotify:album:1Je1IMUlBXcx1Fz0WE7oPT"'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"uris"),(0,l.kt)("td",{parentName:"tr",align:null},"An array of the Spotify track URIs to play."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'new List { "spotify:track:4iV5W9uYEdYUVa79Axb7Rh" }'))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"offset"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates from where in the context playback should start. Only available when context_uri corresponds to an album or playlist object, or when the uris parameter is used."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"0"))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},'ErrorResponse error = _spotify.ResumePlayback(uris: new List { "spotify:track:4iV5W9uYEdYUVa79Axb7Rh" });\n')),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"pauseplayback"},"PausePlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Pause playback on the user\u2019s account.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.PausePlayback();\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"skipplaybacktonext"},"SkipPlaybackToNext"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Skips to next track in the user\u2019s queue.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SkipPlaybackToNext();\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"skipplaybacktoprevious"},"SkipPlaybackToPrevious"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Skips to previous track in the user\u2019s queue.\nNote that this will ALWAYS skip to the previous track, regardless of the current track\u2019s progress.\nReturning to the start of the current track should be performed using the ",(0,l.kt)("a",{parentName:"p",href:"https://api.spotify.com/v1/me/player/seek"},"https://api.spotify.com/v1/me/player/seek")," endpoint.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SkipPlaybackToPrevious();\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"seekplayback"},"SeekPlayback"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Seeks to the given position in the user\u2019s currently playing track.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"positionMs"),(0,l.kt)("td",{parentName:"tr",align:null},"The position in milliseconds to seek to. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"50"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SeekPlayback(50);\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"setrepeatmode"},"SetRepeatMode"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Set the repeat mode for the user\u2019s playback. Options are repeat-track, repeat-context, and off.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"state"),(0,l.kt)("td",{parentName:"tr",align:null},"track, context or off."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"RepeatState.Track"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SetRepeatMode(RepeatState.Track);\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"setvolume"},"SetVolume"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Set the volume for the user\u2019s current playback device.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"volumePercent"),(0,l.kt)("td",{parentName:"tr",align:null},"Integer. The volume to set. Must be a value from 0 to 100 inclusive."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"50"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SetVolume(50);\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"setshuffle"},"SetShuffle"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Toggle shuffle on or off for user\u2019s playback.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"shuffle"),(0,l.kt)("td",{parentName:"tr",align:null},"True or False"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"false"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},"ErrorResponse error = _spotify.SetShuffle(false);\n")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"addtoqueue"},"AddToQueue"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},"Add an Item to the User's Playback Queue. BETA.")),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Parameters")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Name"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Example"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"uri"),(0,l.kt)("td",{parentName:"tr",align:null},"The uri of the item to add to the queue. Must be a track or an episode uri."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},"spotify:track:7zrCVKp6x0AtolOsn2iMif"))),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"[deviceId]"),(0,l.kt)("td",{parentName:"tr",align:null},"The id of the device this command is targeting. If not supplied, the user's currently active device is the target."),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)("inlineCode",{parentName:"td"},'"XXXX-XXXX-XXXX-XXXX"'))))),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Usage")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},'ErrorResponse error = _spotify.AddToQueue("spotify:track:7zrCVKp6x0AtolOsn2iMif");\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/10f76bbd.6b61bdcc.js b/assets/js/10f76bbd.6b61bdcc.js deleted file mode 100644 index c8bd2388..00000000 --- a/assets/js/10f76bbd.6b61bdcc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[8897],{3905:function(e,t,n){n.d(t,{Zo:function(){return u},kt:function(){return d}});var o=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var p=o.createContext({}),l=function(e){var t=o.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=l(e.components);return o.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},h=o.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,p=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),h=l(n),d=r,y=h["".concat(p,".").concat(d)]||h[d]||c[d]||a;return n?o.createElement(y,i(i({ref:t},u),{},{components:n})):o.createElement(y,i({ref:t},u))}));function d(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,i=new Array(a);i[0]=h;var s={};for(var p in t)hasOwnProperty.call(t,p)&&(s[p]=t[p]);s.originalType=e,s.mdxType="string"==typeof e?e:r,i[1]=s;for(var l=2;l