using System.Threading;
using MediaBrowser.Controller.Session;
using MediaBrowser.Model.SyncPlay;
namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests
{
///
/// Class PauseGroupRequest.
///
public class PauseGroupRequest : AbstractPlaybackRequest
{
///
public override PlaybackRequestType Action { get; } = PlaybackRequestType.Pause;
///
public override void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken)
{
state.HandleRequest(context, state.Type, this, session, cancellationToken);
}
}
}