ALAssetsLibraryAccessFailureBlock
Signature for the block executed if the user does not grant access to the caller to access the data managed by the framework.
Declaration
typealias ALAssetsLibraryAccessFailureBlock = ((any Error)?) -> VoidDiscussion
The block parameter is defined as follows:
- error
An error object that describes why access to the library failed.
This block type is used by asset(for:resultBlock:failureBlock:) and enumerateGroups(withTypes:using:failureBlock:).
See Also
Constants
ALAssetsGroupTypeTypes of AssetALAssetOrientationALAssetsLibraryGroupsEnumerationResultsBlockALAssetsLibraryAssetForURLResultBlockALAssetsLibraryWriteImageCompletionBlockALAssetsLibraryWriteVideoCompletionBlockALAssetsLibraryGroupResultBlockALAuthorizationStatusNotification KeysError DomainError Codes