jellyfin/MediaBrowser.Model/Session/PlaystateCommand.cs
2013-07-09 12:11:16 -04:00

42 lines
824 B
C#

namespace MediaBrowser.Model.Session
{
/// <summary>
/// Enum PlaystateCommand
/// </summary>
public enum PlaystateCommand
{
/// <summary>
/// The stop
/// </summary>
Stop,
/// <summary>
/// The pause
/// </summary>
Pause,
/// <summary>
/// The unpause
/// </summary>
Unpause,
/// <summary>
/// The next track
/// </summary>
NextTrack,
/// <summary>
/// The previous track
/// </summary>
PreviousTrack,
/// <summary>
/// The seek
/// </summary>
Seek
}
public class PlayStateRequest
{
public PlaystateCommand Command { get; set; }
public long? SeekPosition { get; set; }
}
}