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