mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
# Conflicts: # Emby.Dlna/Emby.Dlna.csproj # Emby.Dlna/Eventing/DlnaEventManager.cs # Emby.Dlna/Service/BaseService.cs # Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs # MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
33 lines
1.5 KiB
C#
33 lines
1.5 KiB
C#
#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);
|
|
}
|
|
}
|