Type Alias

ALAssetsLibraryGroupResultBlock

Signature for the block executed if the user grants access to the caller to access the data managed by the framework..

Declaration

typealias ALAssetsLibraryGroupResultBlock = (ALAssetsGroup?) -> Void

Discussion

The block parameter is defined as follows:

group

The group that was added to the assets library.

If the group is not found or not created (for example, because of a name collision), group is nil.

This block type is used by addAssetsGroupAlbum(withName:resultBlock:failureBlock:) and group(for:resultBlock:failureBlock:).