namespace MediaBrowser.Model.Session
{
///
/// Class PlaystateRequest
///
public class PlaystateRequest
{
///
/// Gets or sets the command.
///
/// The command.
public PlaystateCommand Command { get; set; }
///
/// Gets or sets the seek position.
/// Only applicable to seek commands.
///
/// The seek position.
public long? SeekPosition { get; set; }
}
///
/// Enum PlaystateCommand
///
public enum PlaystateCommand
{
///
/// The stop
///
Stop,
///
/// The pause
///
Pause,
///
/// The unpause
///
Unpause,
///
/// The next track
///
NextTrack,
///
/// The previous track
///
PreviousTrack,
///
/// The seek
///
Seek
}
}