ios/AuthenticatorShared/UI/Platform/FileSelection/FileSelectionDelegate.swift
2024-05-03 08:35:03 -05:00

17 lines
432 B
Swift

import Foundation
// MARK: - FileSelectionDelegate
/// A delegate object that responds to file selection events.
///
@MainActor
protocol FileSelectionDelegate: AnyObject {
/// A file was chosen by the user.
///
/// - Parameters:
/// - fileName: The name of the selected file.
/// - data: The data representation of the selected file.
///
func fileSelectionCompleted(fileName: String, data: Data)
}