Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
actual object ChecksumVerifier
expect object ChecksumVerifier

Verifies file integrity using SHA-256 checksums.

actual object ChecksumVerifier
Link copied to clipboard
data class DownloadRequest(val id: String, val url: String, val savePath: String, val expectedChecksum: String? = null, val headers: Map<String, String> = emptyMap(), val resumable: Boolean = true)

Describes a file download to be performed in the background.

Link copied to clipboard

iOS implementation of TransferManager using NSURLSession background sessions.

Link copied to clipboard
class TransferDownloadDelegate(taskId: String, savePath: String, expectedChecksum: String?, progressFlow: MutableSharedFlow<TransferProgress>, scope: CoroutineScope) : NSObject, NSURLSessionDownloadDelegateProtocol
Link copied to clipboard
interface TransferManager

Cross-platform file transfer manager for background downloads and uploads.

Link copied to clipboard
data class TransferProgress(val id: String, val bytesTransferred: Long, val totalBytes: Long, val percentComplete: Int)

Progress update for an active transfer.

Link copied to clipboard
data class UploadRequest(val id: String, val url: String, val filePath: String, val method: String = "POST", val headers: Map<String, String> = emptyMap())

Describes a file upload to be performed in the background.