次の方法で共有


CKSubscriptionOptions 列挙型

定義

クエリ ベースのサブスクリプションのプッシュ通知動作を制御するためのフラグを列挙します。

この列挙体は、メンバー値のビットごとの組み合わせをサポートしています。

[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 = 
継承
CKSubscriptionOptions
属性

フィールド

FiresOnce 8

通知が 1 回起動し、サブスクリプション オブジェクトが削除されます。

FiresOnRecordCreation 1

この通知は、クエリに一致するレコードが作成されたときに発生します。

FiresOnRecordDeletion 4

この通知は、クエリに一致するレコードが削除されたときに発生します。

FiresOnRecordUpdate 2

この通知は、クエリに一致するレコードが更新されたときに発生します。

適用対象