Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKFetchNotificationChangesOperationMBS class.

CKFetchNotificationChangesOperationMBS.fetchNotificationChangesCompleted(serverChangeToken as CKServerChangeTokenMBS, 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 that is executed after all requested notifications are fetched.

The event returns no value and takes the following parameters:

serverChangeToken: An opaque object that you can use during subsequent fetch operations to retrieve the next batch of notifications.
operationError: An error object containing information about a problem, or nil if the results are retrieved successfully.

The operation object executes this event only once, which represents your last chance to process the operation results. This event is executed after all individual progress events but before the operation’s completion event. The event is executed serially with respect to the other progress events of the operation.

If you intend to use this event to process results, set it before executing the operation or submitting the operation object to a queue.

In your event, check the value of the moreComing property to determine if there are more results waiting on the server. If the value of that property is treu, use the value in the serverChangeToken parameter to configure a new CKFetchNotificationChangesOperationMBS object to fetch the next batch of results.

CKFetchNotificationChangesOperationMBS.notificationChanged(notification as CKNotificationMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No
The event that processes a single push notification.

The event returns no value and takes the following parameter:

notification: The CKNotification object corresponding to a push notification. The actual object passed to this method is a concrete subclass of CKNotification that contains specific details about the source of the change.

The operation object executes this event once for each push notification that is found. Each time the event is executed, it is executed serially with respect to the other progress events of the operation.

If you intend to use this event to process results, set it before executing the operation or submitting the operation object to a queue.

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


The biggest plugin in space...