Platforms to show: All Mac Windows Linux Cross-Platform

CKSubscriptionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Use a CKSubscription object to track changes occurring on the server.

A subscription acts like a persistent query on the server that can track the creation, deletion, and modification of records. When changes occur, they trigger the delivery of push notifications so that your app can respond appropriately.

see
https://developer.apple.com/reference/cloudkit/cksubscription

Available in 10.10 in 64-bit, but most is deprecated by Apple with 10.12.

Configuration Options

Constant Value Description
OptionsFiresOnce 8 An option for sending a push notification only one time. After sending the push notification, the server deletes the subscription object. This option applies only to query-based subscriptions.
OptionsFiresOnRecordCreation 1 An option for generating a push notification when a record that matches the search criteria in the predicate property is created. This option applies only to query-based subscriptions subscriptions.
OptionsFiresOnRecordDeletion 4 An option for generating a push notification when a record that matched the search criteria in the predicate property was deleted. This option applies only to query-based subscriptions.
OptionsFiresOnRecordUpdate 2 An option for generating a push notification when changes are made to the fields of a record that cause the record to match the search criteria specified in the predicate property. This option applies only to query-based subscriptions.

Subscription Types

Constant Value Description
TypeDatabase 3 A constant indicating the subscription is a query-based subscription. This type of subscription tracks the creation, modification, or deletion of a specific type of record.
TypeQuery 1 A constant indicating the subscription is a query-based subscription. This type of subscription tracks the creation, modification, or deletion of a specific type of record.
TypeRecordZone 2 A constant indicating the subscription is a zone-based subscription. The subscription tracks changes to records in a specific record zone.

Sub classes:

Some methods using this class:

Some events using this class:


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


CKShareParticipantMBS   -   CKUserIdentityLookupInfoMBS


The biggest plugin in space...