<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CloudKitJS",
  "identifier" : "/documentation/CloudKitJS/CloudKit.RecordZoneNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CloudKit JS"
    ],
    "preciseIdentifier" : "cl/CloudKit.RecordZoneNotification"
  },
  "title" : "CloudKit.RecordZoneNotification"
}
-->

# CloudKit.RecordZoneNotification

A [`CloudKit.RecordZoneNotification`](/documentation/CloudKitJS/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`](/documentation/CloudKitJS/CloudKit.RecordZoneNotification) object to get information about the record that changed. To create zone subscriptions and handle push notifications, see the [`saveSubscriptions`](/documentation/CloudKitJS/CloudKit.Database/saveSubscriptions) method in [`CloudKit.Database`](/documentation/CloudKitJS/CloudKit.Database).

```
interface CloudKit.RecordZoneNotification
```

## Overview

This class is similar to the <doc://com.apple.documentation/documentation/CloudKit/CKRecordZoneNotification> class in the CloudKit framework.

## Topics

### Getting the Notification Type

[`readonly attribute String notificationType;`](/documentation/CloudKitJS/CloudKit.RecordZoneNotification/notificationType)

The type of notification.

[`readonly attribute Boolean isRecordZoneNotification;`](/documentation/CloudKitJS/CloudKit.RecordZoneNotification/isRecordZoneNotification)

A Boolean value indicating whether this notification is a [`CloudKit.RecordZoneNotification`](/documentation/CloudKitJS/CloudKit.RecordZoneNotification) object.

### Logging

[`String toString();`](/documentation/CloudKitJS/CloudKit.RecordZoneNotification/toString)

Returns a string representation of the notification.

## Relationships

### Inherited By

[`CloudKit.Notification`](/documentation/CloudKitJS/CloudKit.Notification)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)