TKUINotificationManager
public class TKUINotificationManager : NSObject
Undocumented
-
Undocumented
Declaration
Swift
public weak var delegate: TKUINotificationManagerDelegate?
-
Undocumented
Declaration
Swift
@objc(sharedInstance) public static let shared: TKUINotificationManager
-
Clears all the requests for all notification subscriptions
Declaration
Swift
public func subscribe(to context: TKUINotificationSubscription.Context, updates: @escaping ([UNNotificationRequest]) -> Void)
-
Gets the list of requests that are pending for the provided notification context
Declaration
Swift
public func getRequests(from context: TKUINotificationSubscription.Context) -> [UNNotificationRequest]
-
Determines if the provided notification context is subscribed or not
Declaration
Swift
public func isSubscribed(to context: TKUINotificationSubscription.Context) -> Bool
-
Clears the requests for the provided notification context
Declaration
Swift
public func clearRequests(of context: TKUINotificationSubscription.Context)
-
Clears all the requests for all notification subscriptions
Declaration
Swift
public func clearAllRequests()