#nullable disable
using System;
using MediaBrowser.Controller.Session;
namespace MediaBrowser.Controller.SyncPlay
{
///
/// Class GroupMember.
///
public class GroupMember
{
///
/// Initializes a new instance of the class.
///
/// The session.
public GroupMember(SessionInfo session)
{
SessionId = session.Id;
UserId = session.UserId;
UserName = session.UserName;
}
///
/// Gets the identifier of the session.
///
/// The session identifier.
public string SessionId { get; }
///
/// Gets the identifier of the user.
///
/// The user identifier.
public Guid UserId { get; }
///
/// Gets the username.
///
/// The username.
public string UserName { get; }
///
/// Gets or sets the ping, in milliseconds.
///
/// The ping.
public long Ping { get; set; }
///
/// Gets or sets a value indicating whether this member is buffering.
///
/// true if member is buffering; false otherwise.
public bool IsBuffering { get; set; }
///
/// Gets or sets a value indicating whether this member is following group playback.
///
/// true to ignore member on group wait; false if they're following group playback.
public bool IgnoreGroupWait { get; set; }
}
}