Add progress view for incoming transfer on iOS

This commit is contained in:
Leon Böttger committed 2025-08-17 13:22:44 +02:00
1 parent 62f5a13fd6
commit 288625cbd3
8 files changed
+1786 -1553

No files matched your search

+2
View File
@@ -13,6 +13,7 @@ import SwiftECC
protocol InboundNearbyConnectionDelegate {
func obtainUserConsent(for transfer: TransferMetadata, from device: RemoteDeviceInfo, connection: InboundNearbyConnection)
func inboundConnection(connection: InboundNearbyConnection, transferProgress: Double)
func connectionWasTerminated(connection: InboundNearbyConnection, error: Error?)
}
@@ -29,6 +30,7 @@ protocol OutboundNearbyConnectionDelegate {
public protocol InboundAppDelegate: AnyObject {
func obtainUserConsent(for transfer: TransferMetadata, from device: RemoteDeviceInfo)
func connectionWasTerminated(from device: RemoteDeviceInfo, wasPlainTextTransfer: Bool, error: Error?)
func transferProgress(progress: Double)
}