UNUserNotificationCenter.GetNotificationSettingsAsync 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.
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.