mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
21 lines
682 B
C#
21 lines
682 B
C#
using System.Threading;
|
|
using MediaBrowser.Controller.Session;
|
|
using MediaBrowser.Model.SyncPlay;
|
|
|
|
namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests
|
|
{
|
|
/// <summary>
|
|
/// Class UnpauseGroupRequest.
|
|
/// </summary>
|
|
public class UnpauseGroupRequest : IGroupPlaybackRequest
|
|
{
|
|
/// <inheritdoc />
|
|
public PlaybackRequestType Type { get; } = PlaybackRequestType.Unpause;
|
|
|
|
/// <inheritdoc />
|
|
public void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken)
|
|
{
|
|
state.HandleRequest(context, state.Type, this, session, cancellationToken);
|
|
}
|
|
}
|
|
}
|