jellyfin/Emby.Dlna/IDlnaEventManager.cs

35 lines
1.5 KiB
C#
Raw Normal View History

2022-11-08 15:13:57 -05:00
#nullable disable
#pragma warning disable CS1591
2018-09-12 13:26:21 -04:00
namespace Emby.Dlna
2014-04-21 12:02:30 -04:00
{
public interface IDlnaEventManager
2014-04-21 12:02:30 -04:00
{
/// <summary>
/// Cancels the event subscription.
/// </summary>
/// <param name="subscriptionId">The subscription identifier.</param>
2020-08-20 15:04:57 -04:00
/// <returns>The response.</returns>
2014-04-21 12:02:30 -04:00
EventSubscriptionResponse CancelEventSubscription(string subscriptionId);
/// <summary>
/// Renews the event subscription.
/// </summary>
2020-08-20 15:04:57 -04:00
/// <param name="subscriptionId">The subscription identifier.</param>
/// <param name="notificationType">The notification type.</param>
/// <param name="requestedTimeoutString">The requested timeout as a string.</param>
2020-08-20 15:04:57 -04:00
/// <param name="callbackUrl">The callback url.</param>
/// <returns>The response.</returns>
2017-10-04 14:51:26 -04:00
EventSubscriptionResponse RenewEventSubscription(string subscriptionId, string notificationType, string requestedTimeoutString, string callbackUrl);
2014-04-21 12:02:30 -04:00
/// <summary>
/// Creates the event subscription.
/// </summary>
2020-08-20 15:04:57 -04:00
/// <param name="notificationType">The notification type.</param>
/// <param name="requestedTimeoutString">The requested timeout as a string.</param>
2020-08-20 15:04:57 -04:00
/// <param name="callbackUrl">The callback url.</param>
/// <returns>The response.</returns>
2017-07-20 16:37:13 -04:00
EventSubscriptionResponse CreateEventSubscription(string notificationType, string requestedTimeoutString, string callbackUrl);
2014-04-21 12:02:30 -04:00
}
}