public class UNUserNotificationCenter extends NSObject
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public static UNUserNotificationCenter currentNotificationCenter()
public UNUserNotificationCenterDelegate delegate()
public void setDelegate(UNUserNotificationCenterDelegate delegate)
public void requestAuthorizationWithOptions(int UNAuthorizationOptions, org.robovm.objc.block.VoidBlock2<Boolean,NSError> completionHandler)
public void getNotificationSettingsWithCompletionHandler(org.robovm.objc.block.VoidBlock1<UNNotificationSettings> completionHandler)
public boolean supportsContentExtensions()
public void setNotificationCategories(Set<UNNotificationCategory> categories)
public void getNotificationCategoriesWithCompletionHandler(org.robovm.objc.block.VoidBlock1<Set<UNNotificationCategory>> completionHandler)
public void addNotificationRequest(UNNotificationRequest request, org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
public void getPendingNotificationRequestsWithCompletionHandler(org.robovm.objc.block.VoidBlock1<List<UNNotificationRequest>> completionHandler)
public void removePendingNotificationRequestsWithIdentifiers(List<String> identifiers)
public void removeAllPendingNotificationRequests()
public void getDeliveredNotificationsWithCompletionHandler(org.robovm.objc.block.VoidBlock1<List<UNNotification>> completionHandler)
public void removeDeliveredNotificationsWithIdentifiers(List<String> identifiers)
public void removeAllDeliveredNotifications()
Copyright © 2020. All rights reserved.