Class

CloudKit.SubscriptionsResponse

A CloudKit.SubscriptionsResponse object encapsulates the results of database operations on subscriptions.

Declaration

interface CloudKit.SubscriptionsResponse

Overview

The methods in the CloudKit.Database class that operate on subscriptions return a Promise object that resolves to a CloudKit.SubscriptionsResponse object if the operation is successful. You should not create instances of this class directly.

Errors can occur for individual operations even though the overall method may succeed. If an individual operation is successful, a corresponding CloudKit.Subscription dictionary appears in the subscriptions array. If an individual operation is unsuccessful, a corresponding CloudKit.CKError appears in the errors array.

For examples of using CloudKit.Database methods that resolve to a CloudKit.SubscriptionsResponse object, see the saveSubscriptions method in CloudKit.Database.

Topics

Getting Subscriptions

subscriptions

Contains the subscriptions for the successful operations.

Identifying the Class

isSubscriptionsResponse

Boolean value indicating whether this object is an instance of the CloudKit.SubscriptionsResponse class.

Logging

toString

Returns a string representation of this object.

Relationships

Inherits From