Type Alias

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 = (Error?) -> Void

Discussion

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:).