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