Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKModifySubscriptionsOperationMBS class.

CKModifySubscriptionsOperationMBS.modifySubscriptionsCompleted(savedSubscriptions() as CKSubscriptionMBS, deletedSubscriptionIDs() as String, 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 after the status of all changes is known.

The event returns no value and takes the following parameters:

savedSubscriptions: The array of CKSubscription objects you tried to save.
deletedSubscriptionIDs: An array of NSString objects corresponding to the subscriptions you tried to delete.
operationError: An error object containing information about a problem, or nil if the results are saved successfully.

The operation object executes this block only once and represents your last chance to process the operation results. The block is executed on a background thread of your app. 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 saves or delete only some of the subscriptions 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 subscriptions that were not saved or deleted, 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...