mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 18:42:52 -07:00
22 lines
656 B
C#
22 lines
656 B
C#
|
using System.Threading;
|
||
|
using MediaBrowser.Controller.Session;
|
||
|
using MediaBrowser.Model.SyncPlay;
|
||
|
|
||
|
namespace MediaBrowser.Controller.SyncPlay
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Class StopGroupRequest.
|
||
|
/// </summary>
|
||
|
public class StopGroupRequest : IGroupPlaybackRequest
|
||
|
{
|
||
|
/// <inheritdoc />
|
||
|
public PlaybackRequestType Type { get; } = PlaybackRequestType.Stop;
|
||
|
|
||
|
/// <inheritdoc />
|
||
|
public void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken)
|
||
|
{
|
||
|
state.HandleRequest(context, state.Type, this, session, cancellationToken);
|
||
|
}
|
||
|
}
|
||
|
}
|