GroupMember.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using MediaBrowser.Controller.Session;
  2. namespace MediaBrowser.Controller.SyncPlay
  3. {
  4. /// <summary>
  5. /// Class GroupMember.
  6. /// </summary>
  7. public class GroupMember
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="GroupMember"/> class.
  11. /// </summary>
  12. /// <param name="session">The session.</param>
  13. public GroupMember(SessionInfo session)
  14. {
  15. Session = session;
  16. }
  17. /// <summary>
  18. /// Gets the session.
  19. /// </summary>
  20. /// <value>The session.</value>
  21. public SessionInfo Session { get; }
  22. /// <summary>
  23. /// Gets or sets the ping, in milliseconds.
  24. /// </summary>
  25. /// <value>The ping.</value>
  26. public long Ping { get; set; }
  27. /// <summary>
  28. /// Gets or sets a value indicating whether this member is buffering.
  29. /// </summary>
  30. /// <value><c>true</c> if member is buffering; <c>false</c> otherwise.</value>
  31. public bool IsBuffering { get; set; }
  32. /// <summary>
  33. /// Gets or sets a value indicating whether this member is following group playback.
  34. /// </summary>
  35. /// <value><c>true</c> to ignore member on group wait; <c>false</c> if they're following group playback.</value>
  36. public bool IgnoreGroupWait { get; set; }
  37. }
  38. }