using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Channels
{
///
/// Interface for channels that support retrieving the latest media.
///
public interface ISupportsLatestMedia
{
///
/// Gets the latest media.
///
/// The request.
/// The cancellation token.
/// The latest media.
Task> GetLatestMedia(ChannelLatestMediaSearch request, CancellationToken cancellationToken);
}
}