docman library
Library exports all the classes and functions of the docman package.
Classes
- DocMan DocMan
- Helper for the document manager plugin.
- DocManAppDirs DocMan
-
Entry point for getting application directories,
like
cache
,files
,data
,cacheExt
, andfilesExt
. - DocManPermissionManager DocMan
- A class that provides methods for managing persisted permissions.
- DocManPicker DocMan
- Provides a simple way to pick files, documents and directories.
- DocumentFile DocumentFile
-
A class representing a
DocumentFile
on dart side. - DocumentThumbnail DocumentFile
- A class that represents a document thumbnail.
- PersistedPermission
-
Representation of
UriPermission
on dart side.
Extensions
- DocumentFileActionsExt on DocumentFile DocumentFile
-
Contains all supported methods which use
Action
channel for DocumentFile class. All methods can run in background. - DocumentFileActivityExt on DocumentFile DocumentFile
-
Contains all supported methods which use
Activity
channel for DocumentFile class. - DocumentFileEventsExt on DocumentFile DocumentFile
-
Contains all supported methods which use
Events
channel (Streams) for DocumentFile class. - PlatformExceptionExt on PlatformException
- Extensions for PlatformException class.
Exceptions / Errors
- AlreadyRunningException Exceptions
- Exception thrown when a same method is already running, and the user tries to run it again, without waiting for the first one to finish.
- AppDirActionException Exceptions
- Exception thrown when platform tries to perform unimplemented action.
- AppDirPathException Exceptions
- Exception thrown when platform tries to get path for a directory.
- DocManException DocMan Exceptions
-
Base class for all custom exceptions in the
docman
package - DocumentFileException DocumentFile Exceptions
- Exceptions thrown by executing document file operations.
- NoActivityException Exceptions
- Exception thrown when no activity is found to handle the request.
- PermissionsException Exceptions
- Exceptions thrown by executing permissions operations.
- PickerCountException Exceptions
- Exception thrown when picked items count is greater than allowed limit.
- PickerMaxLimitException Exceptions
- Exception thrown for invalid limit.
- PickerMimeTypeException Exceptions
- Exception thrown for invalid mimeType.