GroupMember.cs 1.4 KB

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