using System.Threading;
using MediaBrowser.Controller.Session;
using MediaBrowser.Model.SyncPlay;
namespace MediaBrowser.Controller.SyncPlay
{
///
/// Interface IGroupPlaybackRequest.
///
public interface IGroupPlaybackRequest
{
///
/// Gets the playback request type.
///
/// The playback request type.
PlaybackRequestType Type { get; }
///
/// Applies the request to a group.
///
/// The context of the state.
/// The current state.
/// The session.
/// The cancellation token.
void Apply(IGroupStateContext context, IGroupState state, SessionInfo session, CancellationToken cancellationToken);
}
}