transfer_manager_flutter library
Classes
- Checksum
- Describes the hash algorithm used to verify transferred data.
- DownloadRequest
- HTTP download request supporting ranged resumption.
- DownloadsTransferDestination
- Download destination in the user-visible Downloads collection.
- FileTransferDestination
- Download destination backed by an explicit filesystem path.
- FlutterTransferManager
- Ready-to-use Android/iOS transfer manager with durable storage and native background engines.
- HttpTransferEngine
- Foreground HTTP engine with range downloads and streamed multipart uploads.
- InMemoryTransferStorage
- Useful for tests and foreground-only applications.
- JsonFileTransferStorage
- A small durable store for Dart applications.
- RetryPolicy
- Exponential retry configuration for recoverable failures.
- SingleFlightAuthProvider
- Coalesces concurrent refreshes for the same authentication scope.
- TransferAuthContext
- TransferAuthProvider
- TransferCapabilities
- Feature summary exposed by the core transfer manager.
- TransferConfiguration
- Queue, concurrency, retry, and managed-storage defaults.
- TransferControl
- TransferDestination
- Platform-neutral destination for a downloaded artifact.
- TransferEngine
- TransferEvent
- State and progress update emitted by a TransferTask.
- TransferExecutionContext
- TransferManager
- TransferNotification
- Controls native progress and completion notifications for one transfer.
- TransferNotificationTap
- Platform-neutral completion-notification interaction.
- TransferPickedFile
- A file selected by the user via a file picker.
- TransferProgress
- Immutable progress snapshot for a transfer.
- TransferRecord
- Durable mutable state stored for one transfer task.
- TransferRequest
- Immutable base configuration shared by upload and download requests.
- TransferStorage
- TransferTask
- TransferTaskActions
- TusTransferEngine
- TUS 1.0 client with persisted session URLs and server-offset reconciliation.
- TusUploadRequest
- A resumable upload using version 1.0 of the TUS protocol.
- UploadRequest
- HTTP multipart upload request.
Enums
- ChecksumAlgorithm
- Supported file-integrity hash algorithms.
- ExistingFilePolicy
- Behavior when a download destination already exists.
- LiveActivityStyle
- Backward-compatible visual preference for an iOS Live Activity.
- NetworkPolicy
- Network requirement applied to a transfer.
- NotificationOpenType
- Action performed after a user taps a completed-download notification.
- ResumeMode
- Controls whether an interrupted download may resume.
- TransferDestinationKind
- Storage category represented by a TransferDestination.
- TransferMediaType
- Filter type for selecting visual media (photos and videos).
- TransferPriority
- Scheduling priority used when multiple tasks are queued.
- TransferState
- Lifecycle state of a transfer task.
- TransferType
- Direction of a transfer.
- UploadSourcePolicy
- Persistence strategy for a local upload source.
Extensions
Functions
-
isTransferPausedSignal(
Object error) → bool
Typedefs
-
ProgressCallback
= FutureOr<
void> Function(int bytesTransferred, int? totalBytes)
Exceptions / Errors
- TransferAuthenticationException
- TransferCancelledException
- TransferException
- Base class for failures reported by transfer_manager.
- TransferIntegrityException
- TransferNetworkException
- TransferPausedException
- Internal-control signal that custom engines may throw after honoring pause.
- TransferPermissionException
- TransferProtocolException
- TransferServerException
- TransferSourceMissingException
- TransferStorageException