2
0

PlayerStateInfo.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #pragma warning disable CS1591
  2. namespace MediaBrowser.Model.Session
  3. {
  4. public class PlayerStateInfo
  5. {
  6. /// <summary>
  7. /// Gets or sets the now playing position ticks.
  8. /// </summary>
  9. /// <value>The now playing position ticks.</value>
  10. public long? PositionTicks { get; set; }
  11. /// <summary>
  12. /// Gets or sets a value indicating whether this instance can seek.
  13. /// </summary>
  14. /// <value><c>true</c> if this instance can seek; otherwise, <c>false</c>.</value>
  15. public bool CanSeek { get; set; }
  16. /// <summary>
  17. /// Gets or sets a value indicating whether this instance is paused.
  18. /// </summary>
  19. /// <value><c>true</c> if this instance is paused; otherwise, <c>false</c>.</value>
  20. public bool IsPaused { get; set; }
  21. /// <summary>
  22. /// Gets or sets a value indicating whether this instance is muted.
  23. /// </summary>
  24. /// <value><c>true</c> if this instance is muted; otherwise, <c>false</c>.</value>
  25. public bool IsMuted { get; set; }
  26. /// <summary>
  27. /// Gets or sets the volume level.
  28. /// </summary>
  29. /// <value>The volume level.</value>
  30. public int? VolumeLevel { get; set; }
  31. /// <summary>
  32. /// Gets or sets the index of the now playing audio stream.
  33. /// </summary>
  34. /// <value>The index of the now playing audio stream.</value>
  35. public int? AudioStreamIndex { get; set; }
  36. /// <summary>
  37. /// Gets or sets the index of the now playing subtitle stream.
  38. /// </summary>
  39. /// <value>The index of the now playing subtitle stream.</value>
  40. public int? SubtitleStreamIndex { get; set; }
  41. /// <summary>
  42. /// Gets or sets the now playing media version identifier.
  43. /// </summary>
  44. /// <value>The now playing media version identifier.</value>
  45. public string MediaSourceId { get; set; }
  46. /// <summary>
  47. /// Gets or sets the play method.
  48. /// </summary>
  49. /// <value>The play method.</value>
  50. public PlayMethod? PlayMethod { get; set; }
  51. /// <summary>
  52. /// Gets or sets the repeat mode.
  53. /// </summary>
  54. /// <value>The repeat mode.</value>
  55. public RepeatMode RepeatMode { get; set; }
  56. }
  57. }