Note that this will ALWAYS skip to the previous track, regardless of the current track’s progress.
Returning to the start of the current track should be performed using the <ahref="https://api.spotify.com/v1/me/player/seek"target="_blank"rel="noopener noreferrer">https://api.spotify.com/v1/me/player/seek</a> endpoint.</p></blockquote><p><strong>Parameters</strong></p><table><thead><tr><th>Name</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>[deviceId]</td><td>The id of the device this command is targeting. If not supplied, the user's currently active device is the target.</td><td><code>"XXXX-XXXX-XXXX-XXXX"</code></td></tr></tbody></table><p><strong>Usage</strong></p><divclass="mdxCodeBlock_iHAB"><divclass="codeBlockContent_32p_"><buttontype="button"aria-label="Copy code to clipboard"class="copyButton_1BYj">Copy</button><divtabindex="0"class="prism-code language-csharp codeBlock_19pQ"><divclass="codeBlockLines_2n9r"style="color:#bfc7d5;background-color:#292d3e"><divclass="token-line"style="color:#bfc7d5"><spanclass="token plain">ErrorResponse error = _spotify.SkipPlaybackToPrevious();</span></div></div></div></div></div><hr><h2><aaria-hidden="true"tabindex="-1"class="anchor enhancedAnchor_ZqCz"id="seekplayback"></a>SeekPlayback<aaria-hidden="true"tabindex="-1"class="hash-link"href="#seekplayback"title="Direct link to heading">#</a></h2><blockquote><p>Seeks to the given position in the user’s currently playing track.</p></blockquote><p><strong>Parameters</strong></p><table><thead><tr><th>Name</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>positionMs</td><td>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.</td><td><code>50</code></td></tr><tr><td>[deviceId]</td><td>The id of the device this command is targeting. If not supplied, the user's currently active device is the target.</td><td><code>"XXXX-XXXX-XXXX-XXXX"</code></td></tr></tbody></table><p><strong>Usage</strong></p><divclass="mdxCodeBlock_iHAB"><divclass="codeBlockContent_32p_"><buttontype="button"aria-label="Copy code to clipboard"class="copyButton_1BYj">Copy</button><divtabindex="0"class="prism-code language-csharp codeBlock_19pQ"><divclass="codeBlockLines_2n9r"style="color:#bfc7d5;background-color:#292d3e"><divclass="token-line"style="color:#bfc7d5"><spanclass="token plain">ErrorResponse error = _spotify.SeekPlayback(50);</span></div></div></div></div></div><hr><h2><aaria-hidden="true"tabindex="-1"class="anchor enhancedAnchor_ZqCz"id="setrepeatmode"></a>SetRepeatMode<aaria-hidden="true"tabindex="-1"class="hash-link"href="#setrepeatmode"title="Direct link to heading">#</a></h2><blockquote><p>Set the repeat mode for the user’s playback. Options are repeat-track, repeat-context, and off.</p></blockquote><p><strong>Parameters</strong></p><table><thead><tr><th>Name</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>state</td><td>track, context or off.</td><td><code>RepeatState.Track</code></td></tr><tr><td>[deviceId]</td><td>The id of the device this command is targeting. If not supplied, the user's currently active device is the target.</td><td><code>"XXXX-XXXX-XXXX-XXXX"</code></td></tr></tbody></table><p><strong>Usage</strong></p><divclass="mdxCodeBlock_iHAB"><divclass="codeBlockContent_32p_"><buttontype="button"aria-label="Copy code to clipboard"class="copyButton_1BYj">Copy</button><divtabindex="0"class="prism-code language-csharp codeBlock_19pQ"><divclass="codeBlockLines_2n9r"style="color:#bfc7d5;background-color:#292d3e"><divclass="token-line"style="color:#bfc7d5"><spanclass="token plain">ErrorResponse error = _spotify.SetRepeatMode(RepeatState.Track);</span></div></div></div></div></div><hr><h2><aaria-hidden="true"tabindex="-1"class="anchor enhancedAnchor_ZqCz"id="setvolume"></a>SetVolume<aaria-hidden="true"tabindex="-1"class="hash-link"href="#setvolume"title="Direct link to heading">#</a></h2><blockquote><p>Set the volume for the user’s current p