CKContainer.ApplicationPermissionBlock
A closure that processes the outcome of a permissions request.
Declaration
typealias ApplicationPermissionBlock = (CKContainer.ApplicationPermissionStatus, (any Error)?) -> VoidDiscussion
When you request or determine the status of a permission, use this closure to process the result. The closure has no return value and takes the following parameters:
The permission’s status. For a list of possible values, see CKContainer.ApplicationPermissionStatus.
An error if the system can’t fulfill the request, or
nilif it successfully determines the status.