Skip to content

Commit

Permalink
Added docs to the Local-API
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyCrazy committed Oct 15, 2015
1 parent f09c52a commit 5c3c354
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions SpotifyAPI/Local/SpotifyLocalAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,18 @@ public Boolean Connect()
return _rh.Init();
}

/// <summary>
/// Update and returns the new StatusResponse from the Spotify-Player
/// </summary>
/// <returns>An up-to-date StatusResponse</returns>
public StatusResponse GetStatus()
{
return _rh.GetNewStatus();
}

/// <summary>
/// Mutes Spotify (Requires nircmd.dll)
/// </summary>
public void Mute()
{
if (File.Exists("nircmd.dll"))
Expand Down

0 comments on commit 5c3c354

Please sign in to comment.