public class UIUserNotificationSettings extends NSObject
Modifier and Type | Method and Description |
---|---|
Set<UIUserNotificationCategory> |
categories()
Returns the group of actions for this app.
|
static UIUserNotificationSettings |
settingsForTypes(int UIUserNotificationType,
Set<UIUserNotificationCategory> categories)
Constructs and returns a UIUserNotificationSettings object for the
specified notification type and set of categories.
|
int |
types()
Returns the type of the available types of notifications for the app.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public static UIUserNotificationSettings settingsForTypes(int UIUserNotificationType, Set<UIUserNotificationCategory> categories)
UIUserNotificationType
- The notification type of the returned
object.categories
- The set of categories supported by the returned object.UIUserNotificationType
public Set<UIUserNotificationCategory> categories()
UIUserNotificationCategory
public int types()
UIUserNotificationType
Copyright © 2020. All rights reserved.