Platforms to show: All Mac Windows Linux Cross-Platform
CKQuerySubscriptionMBS class
Super class: CKSubscriptionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Subclass of the CKSubscriptionMBS class.
- 4 properties
- property predicate as NSPredicateMBS
- property querySubscriptionOptions as Integer
- property recordType as String
- property zoneID as CKRecordZoneIDMBS
- 3 methods
- method Constructor(RecordType as String, predicate as NSPredicateMBS, querySubscriptionOptions as Integer)
- method Constructor(RecordType as String, predicate as NSPredicateMBS, subscriptionID as string, querySubscriptionOptions as Integer)
- method copy as CKQuerySubscriptionMBS
- 4 constants
Option Flags
Constant | Value | Description |
---|---|---|
OptionsFiresOnce | 8 |
Fire only once. |
OptionsFiresOnRecordCreation | 1 |
Fire at record creation. |
OptionsFiresOnRecordDeletion | 4 |
Fire on record deletion. |
OptionsFiresOnRecordUpdate | 2 |
Fire on record update. |
Super class CKSubscriptionMBS
- 8 properties
- property Handle as Integer
- property notificationInfo as CKNotificationInfoMBS
- property predicate as NSPredicateMBS
- property recordType as String
- property subscriptionID as String
- property subscriptionOptions as Integer
- property subscriptionType as Integer
- property zoneID as CKRecordZoneIDMBS
- 6 methods
- method Constructor Private
- method Constructor(RecordType as String, predicate as NSPredicateMBS, querySubscriptionOptions as Integer)
- method Constructor(RecordType as String, predicate as NSPredicateMBS, subscriptionID as string, querySubscriptionOptions as Integer)
- method Constructor(zoneID as CKRecordZoneIDMBS, subscriptionID as string, subscriptionOptions as Integer)
- method Constructor(zoneID as CKRecordZoneIDMBS, subscriptionOptions as Integer)
- method copy as CKSubscriptionMBS
- shared method Available as Boolean
- 7 constants
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. |
This class has no sub classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
CKQueryOperationMBS - CKRecordIDMBS