UIUserNotificationSettings.GetSettingsForTypes(UIUserNotificationType, NSSet) UIUserNotificationSettings.GetSettingsForTypes(UIUserNotificationType, NSSet) Method

Definition

Gets settings that can be used to register the requested notification and action types.

[Foundation.Export("settingsForTypes:categories:")]
public static UIKit.UIUserNotificationSettings GetSettingsForTypes (UIKit.UIUserNotificationType types, Foundation.NSSet categories);
static member GetSettingsForTypes : UIKit.UIUserNotificationType * Foundation.NSSet -> UIKit.UIUserNotificationSettings

Parameters

types
UIUserNotificationType UIUserNotificationType

Bitmap of notification types that the app is permitted to use.

categories
NSSet NSSet

Registered group of actions for an app.

This parameter can be null.

Returns

Applies to