Interface INotificationManager
Assembly: MediaBrowser.Controller.dll
public interface INotificationManager
Methods
Gets the notification types.
Declaration
NotificationCategoryInfo[] GetNotificationCategories(string language, User user)
Parameters
Type |
Name |
Description |
System.String |
language |
|
User |
user |
|
Returns
Declaration
NotificationTokenCategory[] GetNotificationTokens(string language)
Parameters
Type |
Name |
Description |
System.String |
language |
|
Returns
Declaration
void SaveUserNotification(NotificationInfo notificationInfo, User user, string notifierKey)
Parameters
Declaration
void SendNotification(NotificationRequest request)
Parameters
Declaration
[Obsolete("Switch to void SendNotification(NotificationRequest request)")]
Task SendNotification(NotificationRequest request, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
NotificationRequest |
request |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods