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