Contents

CKContainer.ApplicationPermissionBlock

A closure that processes the outcome of a permissions request.

Declaration

typealias ApplicationPermissionBlock = (CKContainer.ApplicationPermissionStatus, (any Error)?) -> Void

Discussion

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 nil if it successfully determines the status.

See Also

Requesting and Determining App Permissions