aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2021-05-13 07:32:02 -0600
committercrobibero <cody@robibe.ro>2021-05-13 07:33:11 -0600
commit6bcbc2b88ae84b1d7cfc50f0872580bed437a60f (patch)
tree5a99e570a04d3aa11f8e4fb305cf48a10324d54c /MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs
parent88a7875a2739bef91f1d7216c5ebd89b4c267911 (diff)
Reduce warnings in MediaBrowser.Controller
Diffstat (limited to 'MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs')
-rw-r--r--MediaBrowser.Controller/Channels/ISupportsLatestMedia.cs21
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