PlaybackStopInfo.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using MediaBrowser.Model.Entities;
  2. namespace MediaBrowser.Model.Session
  3. {
  4. /// <summary>
  5. /// Class PlaybackStopInfo.
  6. /// </summary>
  7. public class PlaybackStopInfo
  8. {
  9. /// <summary>
  10. /// Gets or sets the item.
  11. /// </summary>
  12. /// <value>The item.</value>
  13. public BaseItemInfo Item { get; set; }
  14. /// <summary>
  15. /// Gets or sets the item identifier.
  16. /// </summary>
  17. /// <value>The item identifier.</value>
  18. public string ItemId { get; set; }
  19. /// <summary>
  20. /// Gets or sets the session id.
  21. /// </summary>
  22. /// <value>The session id.</value>
  23. public string SessionId { get; set; }
  24. /// <summary>
  25. /// Gets or sets the media version identifier.
  26. /// </summary>
  27. /// <value>The media version identifier.</value>
  28. public string MediaSourceId { get; set; }
  29. /// <summary>
  30. /// Gets or sets the position ticks.
  31. /// </summary>
  32. /// <value>The position ticks.</value>
  33. public long? PositionTicks { get; set; }
  34. /// <summary>
  35. /// Gets or sets the live stream identifier.
  36. /// </summary>
  37. /// <value>The live stream identifier.</value>
  38. public string LiveStreamId { get; set; }
  39. /// <summary>
  40. /// Gets or sets the play session identifier.
  41. /// </summary>
  42. /// <value>The play session identifier.</value>
  43. public string PlaySessionId { get; set; }
  44. /// <summary>
  45. /// Gets or sets a value indicating whether this <see cref="PlaybackStopInfo"/> is failed.
  46. /// </summary>
  47. /// <value><c>true</c> if failed; otherwise, <c>false</c>.</value>
  48. public bool Failed { get; set; }
  49. public string NextMediaType { get; set; }
  50. }
  51. }