aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/IDlnaEventManager.cs
blob: 33cf0896baf39d8b7d3d8723e22af575adf2a54d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);
    }
}