Share via


UNUserNotificationCenter.GetNotificationSettingsAsync Method

Definition

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<UserNotifications.UNNotificationSettings> GetNotificationSettingsAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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.

Attributes

Applies to