mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 12:28:19 +02:00
23 lines
693 B
C#
23 lines
693 B
C#
using System.Threading;
|
|
using MediaBrowser.Model.SyncPlay;
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
namespace MediaBrowser.Controller.SyncPlay
|
|
{
|
|
/// <summary>
|
|
/// Interface IPlaybackGroupRequest.
|
|
/// </summary>
|
|
public interface IPlaybackGroupRequest
|
|
{
|
|
/// <summary>
|
|
/// Gets the playback request type.
|
|
/// </summary>
|
|
/// <returns>The playback request type.</returns>
|
|
PlaybackRequestType GetRequestType();
|
|
|
|
/// <summary>
|
|
/// Applies the request to a group.
|
|
/// </summary>
|
|
void Apply(ISyncPlayStateContext context, ISyncPlayState state, SessionInfo session, CancellationToken cancellationToken);
|
|
}
|
|
}
|