Edit

Share via


UNUserNotificationCenter.SetNotificationCategories Method

Definition

Sets the specified supported notification categories

[Foundation.Export("setNotificationCategories:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetNotificationCategories (Foundation.NSSet<UserNotifications.UNNotificationCategory> categories);
abstract member SetNotificationCategories : Foundation.NSSet<UserNotifications.UNNotificationCategory> -> unit
override this.SetNotificationCategories : Foundation.NSSet<UserNotifications.UNNotificationCategory> -> unit

Parameters

categories
NSSet<UNNotificationCategory>

The set of categories to support.

Attributes

Applies to