Initializes and returns a subscription object that monitors the specified zone and has a custom name that you provide.
- iOS 8.0–10.0Deprecated
- macOS 10.10–10.12Deprecated
- tvOS 9.0–10.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The ID of the record zone containing the records you want to monitor. This parameter must not be
The unique name of the subscription object. This string must be unique for all other subscription objects in the container. This parameter must not be
The configuration options for the subscription. You must specify
0for this parameter. Zone subscriptions currently do not support any options.
A subscription object initialized to track changes to the contents of a record zone.
The object returned by this method is configured as a zone-based subscription, which generates a push notification when any changes are made to the records in the specified zone.