Type Alias

CKApplicationPermissionBlock

A block for processing permission requests.

Declaration

typedef void (^CKApplicationPermissionBlock)(CKApplicationPermissionStatus applicationPermissionStatus, NSError *error);

Discussion

When requesting or getting the status of a permission, use this block to process the results of that request. This block has no return value and takes the following parameters:

applicationPermissionStatus

The status of the permission. For a list of possible values, see CKApplicationPermissionStatus.

error

An error object if a problem occurs, or nil if the status is determined successfully.