ISupportsLatestMedia.cs 612 B

12345678910111213141516171819
  1. #pragma warning disable CS1591
  2. using System.Collections.Generic;
  3. using System.Threading;
  4. using System.Threading.Tasks;
  5. namespace MediaBrowser.Controller.Channels
  6. {
  7. public interface ISupportsLatestMedia
  8. {
  9. /// <summary>
  10. /// Gets the latest media.
  11. /// </summary>
  12. /// <param name="request">The request.</param>
  13. /// <param name="cancellationToken">The cancellation token.</param>
  14. /// <returns>The latest media.</returns>
  15. Task<IEnumerable<ChannelItemInfo>> GetLatestMedia(ChannelLatestMediaSearch request, CancellationToken cancellationToken);
  16. }
  17. }