diff options
| author | crobibero <cody@robibe.ro> | 2021-05-13 07:32:02 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2021-05-13 07:33:11 -0600 |
| commit | 6bcbc2b88ae84b1d7cfc50f0872580bed437a60f (patch) | |
| tree | 5a99e570a04d3aa11f8e4fb305cf48a10324d54c /MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs | |
| parent | 88a7875a2739bef91f1d7216c5ebd89b4c267911 (diff) | |
Reduce warnings in MediaBrowser.Controller
Diffstat (limited to 'MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs')
| -rw-r--r-- | MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs b/MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs new file mode 100644 index 0000000000..6820d9222c --- /dev/null +++ b/MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs @@ -0,0 +1,21 @@ +#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); + } +}
\ No newline at end of file |
