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, valueForUndefinedKeypublic 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.UIUserNotificationTypepublic Set<UIUserNotificationCategory> categories()
UIUserNotificationCategorypublic int types()
UIUserNotificationTypeCopyright © 2020. All rights reserved.