Edit

Share via


UNUserNotificationCenter.AddNotificationRequestAsync Method

Definition

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

Applies to