Package apple.photos.enums
Class PHPhotosError
- java.lang.Object
-
- apple.photos.enums.PHPhotosError
-
public final class PHPhotosError extends java.lang.ObjectAPI-Since: 13.0
-
-
Field Summary
Fields Modifier and Type Field Description static longAccessRestrictedAccess restricted by system configuration API-Since: 15.0static longAccessUserDeniedThe user has denied access API-Since: 15.0static longChangeNotSupportedThe change request is not supported as configured API-Since: 15.0static longIdentifierNotFoundIdentifier was not found API-Since: 15.0static longInternalErrorAn unknown, internal error occured API-Since: 13.0static longInvalidDeprecated.static longInvalidResourceAsset resource validation failed API-Since: 15.0static longLibraryInFileProviderSyncRootThe Photos library bundle is in a File Provider Sync Root directory, which is not supported because it can corrupt the photo library API-Since: 15.4static longLibraryVolumeOfflineThe photo library is unavailable because the file system volume that contains it is not mounted (register for PHPhotoLibraryAvailabilityObserver) API-Since: 13.0static longMissingResourceAsset resource missing API-Since: 15.0static longMultipleIdentifiersFoundMore than one identifier was found API-Since: 15.0static longNetworkAccessRequiredThe request for an asset resource failed because network access is required, set networkAccessAllowed = YES to enable network access API-Since: 14.0static longNetworkErrorThe request for an asset resource failed due to a network connection error API-Since: 16.0static longNotEnoughSpaceNot enough space to perform the requested change API-Since: 15.0static longOperationInterruptedOperation was interrupted and could not be completed, transient error API-Since: 15.0static longPersistentChangeDetailsUnavailableChange details are not available for this persistent change, and therefore the current library state cannot be reconstructed from change history API-Since: 16.0static longPersistentChangeTokenExpiredThe change token refers to a library state that is older than the available history of persistent changes API-Since: 16.0static longRelinquishingLibraryBundleToWriterThe photo library became unavailable because the user moved, renamed, or deleted the system photo library (register for PHPhotoLibraryAvailabilityObserver) API-Since: 13.0static longRequestNotSupportedForAssetThe request could not be completed because it is not supported for the specified asset API-Since: 15.0static longSwitchingSystemPhotoLibraryThe photo library became unavailable because the user switched the system photo library (register for PHPhotoLibraryAvailabilityObserver) API-Since: 13.0static longUserCancelledThe user cancelled the asset resource or editing request API-Since: 13.0
-
-
-
Field Detail
-
Invalid
@Deprecated public static final long Invalid
Deprecated.DEPRECATED An unknown error occured API-Since: 13.0 Deprecated-Since: 15.0- See Also:
- Constant Field Values
-
UserCancelled
public static final long UserCancelled
The user cancelled the asset resource or editing request API-Since: 13.0- See Also:
- Constant Field Values
-
LibraryVolumeOffline
public static final long LibraryVolumeOffline
The photo library is unavailable because the file system volume that contains it is not mounted (register for PHPhotoLibraryAvailabilityObserver) API-Since: 13.0- See Also:
- Constant Field Values
-
RelinquishingLibraryBundleToWriter
public static final long RelinquishingLibraryBundleToWriter
The photo library became unavailable because the user moved, renamed, or deleted the system photo library (register for PHPhotoLibraryAvailabilityObserver) API-Since: 13.0- See Also:
- Constant Field Values
-
SwitchingSystemPhotoLibrary
public static final long SwitchingSystemPhotoLibrary
The photo library became unavailable because the user switched the system photo library (register for PHPhotoLibraryAvailabilityObserver) API-Since: 13.0- See Also:
- Constant Field Values
-
NetworkAccessRequired
public static final long NetworkAccessRequired
The request for an asset resource failed because network access is required, set networkAccessAllowed = YES to enable network access API-Since: 14.0- See Also:
- Constant Field Values
-
InternalError
public static final long InternalError
An unknown, internal error occured API-Since: 13.0- See Also:
- Constant Field Values
-
IdentifierNotFound
public static final long IdentifierNotFound
Identifier was not found API-Since: 15.0- See Also:
- Constant Field Values
-
MultipleIdentifiersFound
public static final long MultipleIdentifiersFound
More than one identifier was found API-Since: 15.0- See Also:
- Constant Field Values
-
ChangeNotSupported
public static final long ChangeNotSupported
The change request is not supported as configured API-Since: 15.0- See Also:
- Constant Field Values
-
OperationInterrupted
public static final long OperationInterrupted
Operation was interrupted and could not be completed, transient error API-Since: 15.0- See Also:
- Constant Field Values
-
InvalidResource
public static final long InvalidResource
Asset resource validation failed API-Since: 15.0- See Also:
- Constant Field Values
-
MissingResource
public static final long MissingResource
Asset resource missing API-Since: 15.0- See Also:
- Constant Field Values
-
NotEnoughSpace
public static final long NotEnoughSpace
Not enough space to perform the requested change API-Since: 15.0- See Also:
- Constant Field Values
-
RequestNotSupportedForAsset
public static final long RequestNotSupportedForAsset
The request could not be completed because it is not supported for the specified asset API-Since: 15.0- See Also:
- Constant Field Values
-
AccessRestricted
public static final long AccessRestricted
Access restricted by system configuration API-Since: 15.0- See Also:
- Constant Field Values
-
AccessUserDenied
public static final long AccessUserDenied
The user has denied access API-Since: 15.0- See Also:
- Constant Field Values
-
NetworkError
public static final long NetworkError
The request for an asset resource failed due to a network connection error API-Since: 16.0- See Also:
- Constant Field Values
-
LibraryInFileProviderSyncRoot
public static final long LibraryInFileProviderSyncRoot
The Photos library bundle is in a File Provider Sync Root directory, which is not supported because it can corrupt the photo library API-Since: 15.4- See Also:
- Constant Field Values
-
PersistentChangeTokenExpired
public static final long PersistentChangeTokenExpired
The change token refers to a library state that is older than the available history of persistent changes API-Since: 16.0- See Also:
- Constant Field Values
-
PersistentChangeDetailsUnavailable
public static final long PersistentChangeDetailsUnavailable
Change details are not available for this persistent change, and therefore the current library state cannot be reconstructed from change history API-Since: 16.0- See Also:
- Constant Field Values
-
-