mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Introduce a local mechanism for managing the app's badge count
This commit is contained in:
@@ -15,6 +15,7 @@ protocol UserNotificationCenterProtocol: AnyObject {
|
||||
func requestAuthorization(options: UNAuthorizationOptions) async throws -> Bool
|
||||
func deliveredNotifications() async -> [UNNotification]
|
||||
func removeDeliveredNotifications(withIdentifiers identifiers: [String])
|
||||
func setBadgeCount(_ newBadgeCount: Int) async throws
|
||||
func setNotificationCategories(_ categories: Set<UNNotificationCategory>)
|
||||
func authorizationStatus() async -> UNAuthorizationStatus
|
||||
func notificationSettings() async -> UNNotificationSettings
|
||||
|
||||
Reference in New Issue
Block a user