Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKQuerySubscriptionMBS class.

CKQuerySubscriptionMBS.predicate as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The matching criteria to apply to records.

A query-based subscription uses its search predicate to identify potential matches for records. It combines the predicate information with the value in the querySubscriptionOptions property to determine the conditions under which to send a push notification to the app.

The search predicate defines the records that the subscription object monitors for changes. The value in this property is used only if the subscriptionType property is set to CKSubscriptionTypeQueryMBS; otherwise, it is ignored.
(Read only property)

CKQuerySubscriptionMBS.querySubscriptionOptions as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Option flags describing the firing behavior of the subscription

Set the value of this property at initialization time. When configuring a query-based subscription, one of the following values must be specified:

CKQuerySubscriptionOptionsFiresOnRecordCreation
CKQuerySubscriptionOptionsFiresOnRecordUpdate
CKQuerySubscriptionsFiresOnRecordDeletion

If an option flag is not set, an NSInvalidArgumentException is thrown.
(Read only property)

CKQuerySubscriptionMBS.recordType as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The record type being monitored in a query-based subscription. (read-only)

The value of this property applies only to query-based subscriptions and is set automatically by the Constructor. For all other types of subscription objects, the value of this property is ignored and set to nil.
(Read only property)

CKQuerySubscriptionMBS.zoneID as CKRecordZoneIDMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Zone that this query subscription is scoped to.

The value of this property applies both to query-based subscriptions and zone-based subscriptions. Specifying a record zone limits the search scope to the records in that zone. In the case of a zone-based subscription, the search encompasses all records in the zone. For a query-based subscription, the search encompasses only records of a specific type in that zone.

For zone-based subscriptions, the value of this property is set automatically by the Constructor. For all other subscription types, the default value is nil. To apply a zone to a query-based subscriptions, you must assign a value explicitly.
(Read only property)

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


The biggest plugin in space...