file/mini_program_file library

Classes

MiniProgramFileDownloadRequest
Download request passed only to a trusted host file provider.
MiniProgramFilePolicy
Host authority for Publisher API file transfers.
MiniProgramFilePolicyProvider
Resolves accepted file policy for one mini-program endpoint.
MiniProgramFileTransferManager
Owns transfer identity, concurrency, cancellation, and app isolation.
MiniProgramFileTransferProvider
Performs native file selection/storage and streaming network transport.
MiniProgramFileTransferResult
Normalized transfer result returned by a trusted host provider.
MiniProgramFileUploadRequest
Upload request passed only to a trusted host file provider.

Enums

MiniProgramFileDownloadDestination
Destination used by a completed Publisher API download.

Typedefs

MiniProgramFileProgressCallback = void Function(MiniProgramFileTransferProgress progress)

Exceptions / Errors

MiniProgramFileException
Structured provider failure mapped to stable mini-program errors.