Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKMarkNotificationsReadOperationMBS class.

CKMarkNotificationsReadOperationMBS.markNotificationsReadCompleted(notificationIDsMarkedRead() as CKNotificationIDMBS, operationError as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No
The event to execute when all results of the operation are known.

The event returns no value and takes the following parameters:

notificationIDsMarkedRead: An array of CKNotificationID objects corresponding to the notifications that were successfully marked as read.
operationError: An error object containing information about a problem, or nil if all notifications are updated successfully.

The operation object executes this block only once and it is your only chance to process the operation results. If you intend to use this block to process results, set it before executing the operation or submitting the operation object to a queue.

This block reports an error of type CKErrorPartialFailure when it is able to update only some of the notifications successfully. The userInfo dictionary of the error contains a CKPartialErrorsByItemIDKey key whose value is a dictionary. The keys of that dictionary are the IDs of the notifications that were not updated, and the corresponding values are error objects containing information about what happened.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...