CKSubscriptionOptions Enum

Definition

Enumerates flags for controlling push notification behavior for query-based subscriptions.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CKQuerySubscriptionOptions' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.None, "Use 'CKQuerySubscriptionOptions' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum CKSubscriptionOptions
type CKSubscriptionOptions = 
Inheritance
CKSubscriptionOptions
Attributes

Fields

FiresOnce 8

The notification fires once, and the subscription object is deleted.

FiresOnRecordCreation 1

The notification fires when a record that matches the query is created.

FiresOnRecordDeletion 4

The notification fires when a record that matches the query is deleted.

FiresOnRecordUpdate 2

The notification fires when a record that matches the query is updated.

Applies to