CKSubscriptionOptions 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉旗標,以控制查詢型訂閱的推播通知行為。
此列舉支援其成員值的位元組合。
[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 | 通知會引發一次,並刪除訂閱物件。 |
FiresOnRecordCreation | 1 | 建立符合查詢的記錄時,就會引發通知。 |
FiresOnRecordDeletion | 4 | 刪除符合查詢的記錄時,就會引發通知。 |
FiresOnRecordUpdate | 2 | 當符合查詢的記錄更新時,就會引發通知。 |