aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/IDlnaEventManager.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-09-01 18:24:42 -0600
committercrobibero <cody@robibe.ro>2020-09-01 18:24:42 -0600
commitf443c534bfac9feea4c92033e85a9aa5097ec4f5 (patch)
tree6d0bcffc442c283f999232c54536c9d774a6f672 /Emby.Dlna/IDlnaEventManager.cs
parent852213d90cd6fe3c4e7b6922ca1f8162bc34c55e (diff)
parent506fc7cbaeb8f82716f84b125ac598ff740bf552 (diff)
Merge remote-tracking branch 'upstream/master' into package-install-repo
Diffstat (limited to 'Emby.Dlna/IDlnaEventManager.cs')
-rw-r--r--Emby.Dlna/IDlnaEventManager.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/Emby.Dlna/IDlnaEventManager.cs b/Emby.Dlna/IDlnaEventManager.cs
new file mode 100644
index 0000000000..33cf0896ba
--- /dev/null
+++ b/Emby.Dlna/IDlnaEventManager.cs
@@ -0,0 +1,33 @@
+#pragma warning disable CS1591
+
+namespace Emby.Dlna
+{
+ public interface IDlnaEventManager
+ {
+ /// <summary>
+ /// Cancels the event subscription.
+ /// </summary>
+ /// <param name="subscriptionId">The subscription identifier.</param>
+ /// <returns>The response.</returns>
+ EventSubscriptionResponse CancelEventSubscription(string subscriptionId);
+
+ /// <summary>
+ /// Renews the event subscription.
+ /// </summary>
+ /// <param name="subscriptionId">The subscription identifier.</param>
+ /// <param name="notificationType">The notification type.</param>
+ /// <param name="requestedTimeoutString">The requested timeout as a sting.</param>
+ /// <param name="callbackUrl">The callback url.</param>
+ /// <returns>The response.</returns>
+ EventSubscriptionResponse RenewEventSubscription(string subscriptionId, string notificationType, string requestedTimeoutString, string callbackUrl);
+
+ /// <summary>
+ /// Creates the event subscription.
+ /// </summary>
+ /// <param name="notificationType">The notification type.</param>
+ /// <param name="requestedTimeoutString">The requested timeout as a sting.</param>
+ /// <param name="callbackUrl">The callback url.</param>
+ /// <returns>The response.</returns>
+ EventSubscriptionResponse CreateEventSubscription(string notificationType, string requestedTimeoutString, string callbackUrl);
+ }
+}