UNUserNotificationCenter.AddNotificationRequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the local notification that is specified by request
, with the specified completionHandler
.
public virtual System.Threading.Tasks.Task AddNotificationRequestAsync (UserNotifications.UNNotificationRequest request);
abstract member AddNotificationRequestAsync : UserNotifications.UNNotificationRequest -> System.Threading.Tasks.Task
override this.AddNotificationRequestAsync : UserNotifications.UNNotificationRequest -> System.Threading.Tasks.Task
Parameters
- request
- UNNotificationRequest
The data and settings for the notification.
Returns
A task that represents the asynchronous AddNotificationRequest operation