Class

CloudKit.RecordZoneNotification

A CloudKit.RecordZoneNotification object represents a push notification that was caused by changes to the contents of a record zone. A zone notification is triggered by subscriptions where the subscriptionType key is zone. Use a CloudKit.RecordZoneNotification object to get information about the record that changed. To create zone subscriptions and handle push notifications, see the saveSubscriptions method in CloudKit.Database.

Declaration

interface CloudKit.RecordZoneNotification

Overview

This class is similar to the CKRecordZoneNotification class in the CloudKit framework.

Topics

Getting the Notification Type

notificationType

The type of notification.

isRecordZoneNotification

A Boolean value indicating whether this notification is a CloudKit.RecordZoneNotification object.

Logging

toString

Returns a string representation of the notification.

Relationships