CKRecordSavePolicy Enum

Definition

Enumerates policies that control when or if a record should be saved.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CKRecordSavePolicy
type CKRecordSavePolicy = 
Inheritance
CKRecordSavePolicy
Attributes

Fields

SaveAllKeys 2

Save data for all keys, regardless of whether the data have changed..

SaveChangedKeys 1

Save values for all keys for which the data have changed.

SaveIfServerRecordUnchanged 0

Do not save data if the record was changed after the local copy was created.

Applies to