ALAssetsLibraryWriteVideoCompletionBlock
Signature for the block executed when Writevideoatpath(tosavedphotosalbum:completionblock:) completes.
Declaration
typealias ALAssetsLibraryWriteVideoCompletionBlock = (URL?, (any Error)?) -> VoidDiscussion
The block parameters are defined as follows:
- assetURL
An URL that identifies the saved video file.
If the video is not saved, assetURL is nil.
- error
If the video is not saved, an error object that describes the reason for failure, otherwise
nil.