Class UNUserNotificationNotifier
Inheritance
System.Object
UNUserNotificationNotifier
Assembly: SensusiOS.dll
Syntax
public class UNUserNotificationNotifier : iOSNotifier
Constructors
UNUserNotificationNotifier()
Declaration
public UNUserNotificationNotifier()
Methods
CancelNotification(String)
Declaration
public override void CancelNotification(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Overrides
CancelNotification(UNNotificationRequest)
Declaration
public void CancelNotification(UNNotificationRequest request)
Parameters
Type |
Name |
Description |
UserNotifications.UNNotificationRequest |
request |
|
IssueNotificationAsync(String, String, String, Boolean, Protocol, Nullable<Int32>, NotificationUserResponseAction, String)
Declaration
public override Task IssueNotificationAsync(string title, string message, string id, bool alertUser, Protocol protocol, Nullable<int> badgeNumber, NotificationUserResponseAction userResponseAction, string userResponseMessage)
Parameters
Type |
Name |
Description |
System.String |
title |
|
System.String |
message |
|
System.String |
id |
|
System.Boolean |
alertUser |
|
Protocol |
protocol |
|
System.Nullable<System.Int32> |
badgeNumber |
|
NotificationUserResponseAction |
userResponseAction |
|
System.String |
userResponseMessage |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
IssueNotificationAsync(String, String, String, Boolean, Protocol, Nullable<Int32>, NotificationUserResponseAction, String, DateTime, NSMutableDictionary, Action<UNNotificationRequest>)
Declaration
public Task IssueNotificationAsync(string title, string message, string id, bool alertUser, Protocol protocol, Nullable<int> badgeNumber, NotificationUserResponseAction userResponseAction, string userResponseMessage, DateTime triggerDateTime, NSMutableDictionary info, Action<UNNotificationRequest> requestCreated = null)
Parameters
Type |
Name |
Description |
System.String |
title |
|
System.String |
message |
|
System.String |
id |
|
System.Boolean |
alertUser |
|
Protocol |
protocol |
|
System.Nullable<System.Int32> |
badgeNumber |
|
NotificationUserResponseAction |
userResponseAction |
|
System.String |
userResponseMessage |
|
System.DateTime |
triggerDateTime |
|
Foundation.NSMutableDictionary |
info |
|
System.Action<UserNotifications.UNNotificationRequest> |
requestCreated |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
IssueNotificationAsync(UNNotificationRequest)
Declaration
public Task IssueNotificationAsync(UNNotificationRequest request)
Parameters
Type |
Name |
Description |
UserNotifications.UNNotificationRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
IssueSilentNotificationAsync(String, DateTime, NSMutableDictionary, Action<UNNotificationRequest>)
Declaration
public Task IssueSilentNotificationAsync(string id, DateTime triggerDateTime, NSMutableDictionary info, Action<UNNotificationRequest> requestCreated = null)
Parameters
Type |
Name |
Description |
System.String |
id |
|
System.DateTime |
triggerDateTime |
|
Foundation.NSMutableDictionary |
info |
|
System.Action<UserNotifications.UNNotificationRequest> |
requestCreated |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
RemoveAllNotifications()
Declaration
public override void RemoveAllNotifications()
Overrides