Instance Property

subscriptionOptions

The options for triggering notifications.

Declaration

var subscriptionOptions: CKSubscriptionOptions { get }

Discussion

Set the value of this property at initialization time. When configuring a query-based subscription, you must specify at least one of the following values: firesOnRecordCreation, firesOnRecordUpdate, or firesOnRecordDeletion.

See Also

Accessing the Subscription Metadata

var subscriptionType: CKSubscription.SubscriptionType

The type of behavior provided by the subscription.