From 4de230cb8e07c64bb15716669ca2da1e4da0def9 Mon Sep 17 00:00:00 2001 From: salfab Date: Sun, 15 Mar 2015 16:45:16 +0100 Subject: [PATCH] add documentation to the publicly exposed methods. --- SpotifyAPI/SpoitfyLocalAPI/SpotifyMusicHandler.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SpotifyAPI/SpoitfyLocalAPI/SpotifyMusicHandler.cs b/SpotifyAPI/SpoitfyLocalAPI/SpotifyMusicHandler.cs index 0a22a08c..d57c1ed6 100644 --- a/SpotifyAPI/SpoitfyLocalAPI/SpotifyMusicHandler.cs +++ b/SpotifyAPI/SpoitfyLocalAPI/SpotifyMusicHandler.cs @@ -54,9 +54,13 @@ namespace SpotifyAPI.SpotifyLocalAPI return sr.volume; } /// - /// Plays a Spotify URI + /// Plays a Spotify URI within an optional context. /// /// The Spotify URI. Can be checked with + /// The context in which to play the specified . + /// + /// Contexts are basically a queue in spotify. a song can be played within a context, meaning that hitting next / previous would lead to another song. Contexts are leveraged by widgets as described in the "Multiple tracks player" section of the following documentation page: https://developer.spotify.com/technologies/widgets/spotify-play-button/ + /// public void PlayURL(String uri, String context = "") { rh.SendPlayRequest(uri, context);