universal_file_handler library

Classes

FileConfig
Configuration used while resolving, caching, and loading files.
FileUtils
Helper methods for working with supported file sources and cache keys.
ImageViewer
Full-screen viewer for image files resolved by the package.
PdfViewer
Full-screen viewer for PDF files resolved by the package.
ShareService
Wraps platform sharing for resolved files.
UniversalFileHandler
Public entry point for resolving, opening, caching, and sharing files.

Enums

FileSourceType
Supported source categories for incoming file references.
FileType
Supported file categories used by the package.

Extensions

FileTypeX on FileType
Convenience metadata for FileType values.

Exceptions / Errors

FileDownloadException
Thrown when a network download fails.
FileLoadException
Thrown when a file cannot be loaded into managed storage.
FileOpenException
Thrown when a file cannot be opened for the user.
FileShareException
Thrown when a share request cannot be completed.
InvalidFileSourceException
Thrown when a provided file source cannot be interpreted.
SourceFileNotFoundException
Thrown when an expected file cannot be found.
UniversalFileHandlerException
Base exception for errors raised by this package.