Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKFetchDatabaseChangesOperationMBS class.

CKFetchDatabaseChangesOperationMBS.changeTokenUpdated(serverChangeToken as CKServerChangeTokenMBS)

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 the change token has changed.

This event will be executed periodically, giving you an updated change token so that already-fetched record zone changes do not need to be re-fetched on a subsequent operation.

CKFetchDatabaseChangesOperationMBS.fetchDatabaseChangesCompleted(serverChangeToken as CKServerChangeTokenMBS, moreComing as Boolean, 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 the operation completes.

serverChangeToken: The current server change token to be stored and used in subsequent CKFetchDatabaseChangesOperation instances.
moreComing: Indicates if this is the last record zone change. If fetchAllChanges is false, it is the responsibility of the client to create additional CKFetchDatabaseChangesOperation instances for the additional changes.
operationError: An error object containing information about a problem, or nil if the results are retrieved successfully.

The client is responsible for saving the change token at the end of the operation and passing it into the next call to CKFetchDatabaseChangesOperationMBS. If the server returns a CKErrorChangeTokenExpired error, the previousServerChangeToken value was too old and the client should toss its local cache and re-fetch the changes in this record zone starting with a nil previousServerChangeToken.

CKFetchDatabaseChangesOperationMBS.recordZoneWithIDChanged(zoneID as CKRecordZoneIDMBS)

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

The event returns no value and takes the following parameter:

zoneID: The CKRecordZoneID corresponding to the record zone that changed.

CKFetchDatabaseChangesOperationMBS.recordZoneWithIDWasDeleted(zoneID as CKRecordZoneIDMBS)

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 record zone deletion.

The event returns no value and takes the following parameter:

zoneID: The CKRecordZoneID corresponding to the record zone that was deleted.

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


The biggest plugin in space...