icloud_storage library
Classes
- ContainerItem
-
A file or directory entry from the iCloud ubiquity container, enumerated
via
FileManager.contentsOfDirectorywith URL resource values. - GatherInvalidEntry
- Captures metadata entries that could not be parsed.
- GatherResult
- Result of a gather operation, including malformed entries.
- ICloudFile
- Metadata for an iCloud file or directory.
- ICloudItemMetadata
- Typed metadata for a known iCloud item path.
- ICloudStorage
- The main class for the plugin. Provides streaming, file-path-only access to iCloud containers using Apple’s document APIs.
- ICloudTransferProgress
- A typed progress event emitted from upload/download progress streams.
- PlatformExceptionCode
- A class contains the error code from PlatformException
Enums
- DownloadStatus
- Download status of an iCloud item.
- ICloudTransferProgressType
- The state of a transfer progress stream event.
Functions
-
mapICloudPlatformException(
PlatformException error) → ICloudOperationException - Maps a structured platform exception into a typed iCloud exception.
-
parseDownloadStatus(
String? value) → DownloadStatus? - Parses normalized and Apple-native download status strings.
Exceptions / Errors
- ICloudConflictException
- Thrown when file coordination detects a conflict.
- ICloudContainerAccessException
- Thrown when the iCloud container cannot be accessed.
- ICloudCoordinationException
- Thrown when file coordination fails for another reason.
- ICloudDownloadInProgressException
- Thrown when a download is already active for the item.
- ICloudItemNotDownloadedException
- Thrown when an item must be downloaded before use.
- ICloudItemNotFoundException
- Thrown when the requested item does not exist.
- ICloudOperationException
- Base class for typed iCloud operation failures surfaced from native code.
- ICloudTimeoutException
- Thrown when a native request times out.
- ICloudUnknownNativeException
- Thrown when native code reports an unknown structured failure.
- InvalidArgumentException
- An exception class used for development. It's used when invalid argument is passed to the API