mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 07:26:28 +00:00
22 lines
578 B
C#
22 lines
578 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class CurrentlyPlayingContext
|
|
{
|
|
public Device Device { get; set; }
|
|
public string RepeatState { get; set; }
|
|
public bool ShuffleState { get; set; }
|
|
public Context Context { get; set; }
|
|
public long Timestamp { get; set; }
|
|
public int ProgressMs { get; set; }
|
|
public bool IsPlaying { get; set; }
|
|
|
|
[JsonConverter(typeof(PlayableItemConverter))]
|
|
public IPlayableItem Item { get; set; }
|
|
|
|
public string CurrentlyPlayingType { get; set; }
|
|
public Actions Actions { get; set; }
|
|
}
|
|
}
|