PlayRequest.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. 
  2. namespace MediaBrowser.Model.Session
  3. {
  4. /// <summary>
  5. /// Class PlayRequest
  6. /// </summary>
  7. public class PlayRequest
  8. {
  9. /// <summary>
  10. /// Gets or sets the item ids.
  11. /// </summary>
  12. /// <value>The item ids.</value>
  13. public string[] ItemIds { get; set; }
  14. /// <summary>
  15. /// Gets or sets the start position ticks that the first item should be played at
  16. /// </summary>
  17. /// <value>The start position ticks.</value>
  18. public long? StartPositionTicks { get; set; }
  19. /// <summary>
  20. /// Gets or sets the play command.
  21. /// </summary>
  22. /// <value>The play command.</value>
  23. public PlayCommand PlayCommand { get; set; }
  24. }
  25. /// <summary>
  26. /// Enum PlayCommand
  27. /// </summary>
  28. public enum PlayCommand
  29. {
  30. /// <summary>
  31. /// The play now
  32. /// </summary>
  33. PlayNow,
  34. /// <summary>
  35. /// The play next
  36. /// </summary>
  37. PlayNext,
  38. /// <summary>
  39. /// The play last
  40. /// </summary>
  41. PlayLast
  42. }
  43. }