CKSubscriptionOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
FiresOnRecordCreation | 1 | The notification fires when a record that matches the query is created. |
FiresOnRecordUpdate | 2 | The notification fires when a record that matches the query is updated. |
FiresOnRecordDeletion | 4 | The notification fires when a record that matches the query is deleted. |
FiresOnce | 8 | The notification fires once, and the subscription object is deleted. |