aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/PlaystateCommand.cs
blob: 9fed860ddb3dbe07222f0600c960d2ec37dc2061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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; }
    }
}