UNUserNotificationCenter.GetNotificationSettingsAsync Method

Definition

Returns the notification settings object for the app, processing it before it is returned.

public virtual System.Threading.Tasks.Task<UserNotifications.UNNotificationSettings> GetNotificationSettingsAsync ();
abstract member GetNotificationSettingsAsync : unit -> System.Threading.Tasks.Task<UserNotifications.UNNotificationSettings>
override this.GetNotificationSettingsAsync : unit -> System.Threading.Tasks.Task<UserNotifications.UNNotificationSettings>

Returns

A task that returns the notification settings for the app.

Applies to