21 lines
651 B
C#
21 lines
651 B
C#
#nullable disable
|
|
|
|
#pragma warning disable CS1591
|
|
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Controller.Channels
|
|
{
|
|
public interface ISupportsLatestMedia
|
|
{
|
|
/// <summary>
|
|
/// Gets the latest media.
|
|
/// </summary>
|
|
/// <param name="request">The request.</param>
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
/// <returns>Task{IEnumerable{ChannelItemInfo}}.</returns>
|
|
Task<IEnumerable<ChannelItemInfo>> GetLatestMedia(ChannelLatestMediaSearch request, CancellationToken cancellationToken);
|
|
}
|
|
} |