Skip to content

Commit 5c3c354

Browse files
committed
Added docs to the Local-API
1 parent f09c52a commit 5c3c354

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

SpotifyAPI/Local/SpotifyLocalAPI.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,18 @@ public Boolean Connect()
139139
return _rh.Init();
140140
}
141141

142+
/// <summary>
143+
/// Update and returns the new StatusResponse from the Spotify-Player
144+
/// </summary>
145+
/// <returns>An up-to-date StatusResponse</returns>
142146
public StatusResponse GetStatus()
143147
{
144148
return _rh.GetNewStatus();
145149
}
146150

151+
/// <summary>
152+
/// Mutes Spotify (Requires nircmd.dll)
153+
/// </summary>
147154
public void Mute()
148155
{
149156
if (File.Exists("nircmd.dll"))

0 commit comments

Comments
 (0)