#nullable disable #pragma warning disable CS1591 using System.Threading; using System.Threading.Tasks; using Jellyfin.Data.Entities; namespace MediaBrowser.Controller.Notifications { public interface INotificationService { /// /// Gets the name. /// /// The name. string Name { get; } /// /// Sends the notification. /// /// The request. /// The cancellation token. /// Task. Task SendNotification(UserNotification request, CancellationToken cancellationToken); /// /// Determines whether [is enabled for user] [the specified user identifier]. /// /// The user. /// true if [is enabled for user] [the specified user identifier]; otherwise, false. bool IsEnabledForUser(User user); } }