aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/PlaystateRequest.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-09 18:43:11 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-09 18:43:11 -0400
commit35a7986b3f2c40e66bb7da6a9ae91b38cc763422 (patch)
treea81b31b24b2372ce2c8f23faedcf240f8bd7e700 /MediaBrowser.Model/Session/PlaystateRequest.cs
parent2b2832076471f789d46faf938596c57a18601e1f (diff)
added model classes for remote control
Diffstat (limited to 'MediaBrowser.Model/Session/PlaystateRequest.cs')
-rw-r--r--MediaBrowser.Model/Session/PlaystateRequest.cs53
1 files changed, 53 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Session/PlaystateRequest.cs b/MediaBrowser.Model/Session/PlaystateRequest.cs
new file mode 100644
index 000000000..4db06c3d6
--- /dev/null
+++ b/MediaBrowser.Model/Session/PlaystateRequest.cs
@@ -0,0 +1,53 @@
+
+namespace MediaBrowser.Model.Session
+{
+ /// <summary>
+ /// Class PlaystateRequest
+ /// </summary>
+ public class PlaystateRequest
+ {
+ /// <summary>
+ /// Gets or sets the command.
+ /// </summary>
+ /// <value>The command.</value>
+ public PlaystateCommand Command { get; set; }
+
+ /// <summary>
+ /// Gets or sets the seek position.
+ /// Only applicable to seek commands.
+ /// </summary>
+ /// <value>The seek position.</value>
+ public long SeekPosition { get; set; }
+ }
+
+ /// <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
+ }
+}