jellyfin/MediaBrowser.Model/Session/PlaystateCommand.cs

55 lines
1.2 KiB
C#
Raw Normal View History

2013-05-10 00:43:11 +02:00

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,
/// <summary>
2014-03-28 20:58:18 +01:00
/// The rewind
/// </summary>
Rewind,
/// <summary>
/// The fast forward
/// </summary>
FastForward
2013-05-10 00:43:11 +02:00
}
2013-07-09 18:16:52 +02:00
public class PlaystateRequest
{
public PlaystateCommand Command { get; set; }
public long? SeekPositionTicks { get; set; }
/// <summary>
/// Gets or sets the controlling user identifier.
/// </summary>
/// <value>The controlling user identifier.</value>
public string ControllingUserId { get; set; }
}
2014-03-13 10:18:32 +01:00
}