Platforms to show: All Mac Windows Linux Cross-Platform
CKQueryNotificationMBS class
Super class: CKNotificationMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Subscription objects represent persistent queries on the server. When the server detects a change related to a subscription, it sends a push notification to the client that created the subscription and logs the push notification in the container. You use instances of this class to get information about the record involved in the push notification.
see
https://developer.apple.com/reference/cloudkit/ckquerynotification
Subclass of the CKNotificationMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 5 properties
- property databaseScope as Integer
- property isPublicDatabase as Boolean
- property queryNotificationReason as Integer
- property recordFields as Dictionary
- property recordID as CKRecordIDMBS
- method Constructor Private
- 3 constants
Reasons
Constant | Value | Description |
---|---|---|
ReasonRecordCreated | 1 |
A record matching the subscription’s predicate was created. |
ReasonRecordDeleted | 3 |
A record matching the subscription’s predicate was deleted. |
ReasonRecordUpdated | 2 |
A record matching the subscription’s predicate was updated. |
Super class CKNotificationMBS
- 13 properties
- property alertActionLocalizationKey as String
- property alertBody as String
- property alertLaunchImage as String
- property alertLocalizationKey as String
- property badge as Integer
- property category as String
- property containerIdentifier as String
- property Handle as Integer
- property isPruned as Boolean
- property notificationID as CKNotificationIDMBS
- property notificationType as Integer
- property soundName as String
- property subscriptionID as String
- 2 methods
- method alertLocalizationArgs as String()
- method Constructor Private
- shared method notificationFromRemoteNotificationDictionary(notificationDictionary as Dictionary) as CKNotificationMBS
- 4 constants
Notification Types
Constant | Value | Description |
---|---|---|
TypeDatabase | 4 |
A notification generated when the contents of a database changed. |
TypeQuery | 1 |
A notification generated based on the conditions set forth in a subscription object. |
TypeReadNotification | 3 |
A notification that your app previously marked as read using a CKMarkNotificationsReadOperationMBS object. |
TypeRecordZone | 2 |
A notification generated when the contents of a record zone changed. |
This class has no sub classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
CKQueryMBS - CKQueryOperationMBS