Files
Termind/Frameworks/TermindApplication/CommandNotificationSending.swift
T

12 lines
346 B
Swift

import Foundation
public nonisolated enum CommandNotificationAuthorization: Sendable {
case notDetermined, allowed, denied
}
@MainActor
public protocol CommandNotificationSending: AnyObject {
func authorization(request: Bool) async -> CommandNotificationAuthorization
func send(sessionID: UUID, title: String, body: String) async
}