using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Controller.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(Jellyfin.Data.Entities.User user);
}
}