blob: e19f576da0a4e64421a8b195880722521648fa45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//
// SystemNotificationProvider.swift
// MullvadVPN
//
// Created by pronebird on 09/12/2022.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//
import Foundation
import UserNotifications
/// Protocol describing a system notification provider.
protocol SystemNotificationProvider: NotificationProviderProtocol {
/// Notification request if available, otherwise `nil`.
var notificationRequest: UNNotificationRequest? { get }
/// Whether any pending requests should be removed.
var shouldRemovePendingRequests: Bool { get }
/// Whether any delivered requests should be removed.
var shouldRemoveDeliveredRequests: Bool { get }
}
|