Type Alias

NSURLUbiquitousItemDownloadingStatus

Values that describe the iCloud storage state of a file.

Declaration

typedef NSString *NSURLUbiquitousItemDownloadingStatus;

Discussion

These constants are possible values for the NSURLUbiquitousItemDownloadingStatusKey key.

Topics

Constants

NSURLUbiquitousItemDownloadingStatusCurrent

A local copy of this item exists and is the most up-to-date version known to the device.

NSURLUbiquitousItemDownloadingStatusDownloaded

A local copy of this item exists, but it is stale. The most recent version will be downloaded as soon as possible.

See Also

Ubiquitous Keys

NSURLIsUbiquitousItemKey

A boolean NSNumber that contains true if this item is in iCloud storage, false if it is a local item (read-only).

NSURLUbiquitousItemDownloadRequestedKey

A Boolean indicating whether a call to startDownloadingUbiquitousItemAtURL:error: has already been made to download the item. The value of this key is read-only.

NSURLUbiquitousItemIsDownloadingKey

A boolean NSNumber that contains true if this item is being downloaded from iCloud, false otherwise (read-only).

NSURLUbiquitousItemDownloadingErrorKey

An error object that indicates why downloading the item from iCloud failed. See Foundation Constants for possible error codes.

NSURLUbiquitousItemDownloadingStatusKey

The current download state for the item, indicating whether a local copy exists and whether that copy is the most current version of the item. The possible values for this key are described in NSURLUbiquitousItemDownloadingStatus.

NSURLUbiquitousItemIsUploadedKey

A boolean NSNumber that contains true if this item’s data has been uploaded to iCloud storage, false otherwise (read-only).

NSURLUbiquitousItemIsUploadingKey

A boolean NSNumber that contains true if this item is being uploaded to iCloud, false otherwise (read-only).

NSURLUbiquitousItemUploadingErrorKey

An error object that indicates why uploading the item to iCloud failed. See Foundation Constants for possible error codes.

NSURLUbiquitousItemHasUnresolvedConflictsKey

A boolean NSNumber that contains true if this item has conflicts outstanding, false otherwise (read-only).

NSURLUbiquitousItemContainerDisplayNameKey

A string containing the name of the item’s container, as it is displayed to the user.