mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
45 lines
1.4 KiB
C#
45 lines
1.4 KiB
C#
#nullable disable
|
|
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
namespace MediaBrowser.Controller.SyncPlay
|
|
{
|
|
/// <summary>
|
|
/// Class GroupMember.
|
|
/// </summary>
|
|
public class GroupMember
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="GroupMember"/> class.
|
|
/// </summary>
|
|
/// <param name="session">The session.</param>
|
|
public GroupMember(SessionInfo session)
|
|
{
|
|
Session = session;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the session.
|
|
/// </summary>
|
|
/// <value>The session.</value>
|
|
public SessionInfo Session { get; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the ping, in milliseconds.
|
|
/// </summary>
|
|
/// <value>The ping.</value>
|
|
public long Ping { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether this member is buffering.
|
|
/// </summary>
|
|
/// <value><c>true</c> if member is buffering; <c>false</c> otherwise.</value>
|
|
public bool IsBuffering { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether this member is following group playback.
|
|
/// </summary>
|
|
/// <value><c>true</c> to ignore member on group wait; <c>false</c> if they're following group playback.</value>
|
|
public bool IgnoreGroupWait { get; set; }
|
|
}
|
|
}
|