mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-29 15:13:28 -05:00
25 lines
739 B
C#
25 lines
739 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>
|
|
/// <value>The playback request type.</value>
|
|
PlaybackRequestType Type();
|
|
|
|
/// <summary>
|
|
/// Applies the request to a group.
|
|
/// </summary>
|
|
/// <value>The operation completion status.</value>
|
|
bool Apply(ISyncPlayStateContext context, ISyncPlayState state, SessionInfo session, CancellationToken cancellationToken);
|
|
}
|
|
}
|