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