jellyfin/MediaBrowser.Model/Session/PlaystateCommand.cs
Tim Hobbs d5e49f590d Enable remote "fullscreen" command
This is really only pseudo-fullscreen, as the js fullscreen API doesn't
allow fullscreen without user interaction.
2014-03-20 12:12:10 -07:00

51 lines
1.1 KiB
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,
/// <summary>
/// The fullscreen
/// </summary>
Fullscreen
}
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; }
}
}