using System.Threading; using MediaBrowser.Model.SyncPlay; using MediaBrowser.Controller.Session; // FIXME: not really group related, can be moved up to SyncPlayController maybe? namespace MediaBrowser.Controller.SyncPlay { /// /// Class UpdatePingGroupRequest. /// public class PingGroupRequest : IPlaybackGroupRequest { /// /// Gets or sets the ping time. /// /// The ping time. public long Ping { get; set; } /// public PlaybackRequestType Type() { return PlaybackRequestType.Ping; } /// public bool Apply(ISyncPlayStateContext context, ISyncPlayState state, SessionInfo session, CancellationToken cancellationToken) { return state.HandleRequest(context, false, this, session, cancellationToken); } } }