Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKModifySubscriptionsOperationMBS class.

CKModifySubscriptionsOperationMBS.Constructor(subscriptionsToSave() as CKSubscriptionMBS, subscriptionIDsToDelete() as String = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes and returns an operation object configured to save and delete the specified subscriptions.

subscriptionsToSave: An array of CKSubscription objects representing the subscriptions to save or update. You may specify nil for this parameter.
subscriptionIDsToDelete: An array of strings representing the IDs of the subscriptions you want to delete, if any. You may specify nil for this parameter.

The subscriptions you intend to save or delete must all reside in the same container, which you must specify when configuring the operation object. Saving a subscription that is not in the current database creates it in the database. Trying to delete a subscription that does not exist in the current database returns an error for that subscription.

CKModifySubscriptionsOperationMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Destructor

CKModifySubscriptionsOperationMBS.setSubscriptionIDsToDelete(SubscriptionIDsToDelete() as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the IDs of the subscriptions you want to delete permanently from the database.

CKModifySubscriptionsOperationMBS.setSubscriptionsToSave(IDs() as CKSubscriptionMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the subscriptions to save to the database.

CKModifySubscriptionsOperationMBS.subscriptionIDsToDelete as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The IDs of the subscriptions you want to delete permanently from the database.

This property contains the array of strings that identify the subscriptions to delete. The initial contents of the array are set to the records you specified with the Constructor.

If you intend to change the set of subscriptions to be deleted, update the value of this property before executing the operation or submitting the operation object to a queue.

CKModifySubscriptionsOperationMBS.subscriptionsToSave as CKSubscriptionMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The subscriptions to save to the database.

This property contains the array of CKSubscriptionMBS objects that you want to save. The initial contents of the array are set to the subscriptions you specified with the Constructor. You can modify this array as needed before executing the operation. After saving the subscription objects, the server begins applying the criteria from those objects to the contents of the database, generating push notifications as appropriate.

If you intend to change the set of subscriptions to be saved, update the value of this property 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...