aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/IEventManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Dlna/IEventManager.cs')
-rw-r--r--Emby.Dlna/IEventManager.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Emby.Dlna/IEventManager.cs b/Emby.Dlna/IEventManager.cs
new file mode 100644
index 000000000..e90476fe3
--- /dev/null
+++ b/Emby.Dlna/IEventManager.cs
@@ -0,0 +1,22 @@
+
+namespace Emby.Dlna
+{
+ public interface IEventManager
+ {
+ /// <summary>
+ /// Cancels the event subscription.
+ /// </summary>
+ /// <param name="subscriptionId">The subscription identifier.</param>
+ EventSubscriptionResponse CancelEventSubscription(string subscriptionId);
+
+ /// <summary>
+ /// Renews the event subscription.
+ /// </summary>
+ EventSubscriptionResponse RenewEventSubscription(string subscriptionId, string notificationType, string requestedTimeoutString, string callbackUrl);
+
+ /// <summary>
+ /// Creates the event subscription.
+ /// </summary>
+ EventSubscriptionResponse CreateEventSubscription(string notificationType, string requestedTimeoutString, string callbackUrl);
+ }
+}