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

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

categories
NSSet

Registered group of actions for an app.

This parameter can be null.

Returns

User Notification settings of type UIUserNotificationSettings.

Attributes

Applies to