icloud_storage library

Classes

ContainerItem
A file or directory entry from the iCloud ubiquity container, enumerated via FileManager.contentsOfDirectory with URL resource values.
GatherInvalidEntry
Captures metadata entries that could not be parsed.
GatherResult
Result of a gather operation, including malformed entries.
ICloudDocumentChange
Typed event emitted when an observed iCloud document changes.
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 files in an iCloud Drive ubiquity container using Apple's document APIs.
ICloudTransferProgress
A typed progress event emitted from upload/download progress streams.
ICloudVersion
A descriptor for a single unresolved NSFileVersion conflict version, surfaced from the native layer via the version-exposure primitives.
PlatformExceptionCode
A class contains the error code from PlatformException

Enums

DownloadStatus
Download status of an iCloud item.
ICloudDocumentChangeKind
Stable event kinds emitted by the native document presenter bridge.
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 a version-exposure primitive (enumerate / copy-out / mark-resolved) fails. The plugin only EXPOSES NSFileVersions; it never auto-resolves or silently deletes losing versions, so this exception never represents an auto-resolved outcome.
ICloudContainerAccessException
Thrown when the iCloud container cannot be accessed.
ICloudCoordinationException
Thrown when file coordination fails for another reason.
ICloudInvalidArgumentException
Thrown when native code reports invalid write-path arguments.
ICloudItemNotFoundException
Thrown when the requested item does not exist.
ICloudOperationException
Base class for typed iCloud operation failures surfaced from native code.
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