summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/Notifications/NotificationProviderProtocol.swift
blob: ee512e3961ac402ab969fed695b6581a2afb5dc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
//  NotificationProviderProtocol.swift
//  MullvadVPN
//
//  Created by pronebird on 09/12/2022.
//  Copyright © 2022 Mullvad VPN AB. All rights reserved.
//

import Foundation

/// Base protocol for notification providers.
protocol NotificationProviderProtocol {
    /// Unique provider identifier used to identify notification providers and notifications
    /// produced by them.
    var identifier: String { get }

    /// Tell notifcation manager to update the associated notification.
    func invalidate()
}