One Logo Pool Ball
CloudKit · IOS API REFERENCE

CKSyncEngine.SendChangesContext

struct · iOS 17.0+ · SDK 27.1

struct SendChangesContext

The context of an attempt to send changes to the server. A sync engine has two ways to send changes to iCloud — periodically, in cooperation with the system scheduler, and manually, whenever your app invokes the ``CKSyncEngine-5sie5/sendChanges(_:)`` method. This type provides information about a single attempt to send changes that includes both the reason for the attempt and any additional options in use by the attempt.

Members (3)

get · iOS 17.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

The textual description of the context that's suitable for logging.

get · iOS 17.0+

reason

TypeScript
get reason(): CKSyncEngine_SyncReason
Swift declaration
let reason: CKSyncEngine.SyncReason

The reason for the send operation.

get · iOS 17.0+

options

TypeScript
get options(): CKSyncEngine_SendChangesOptions
Swift declaration
let options: CKSyncEngine.SendChangesOptions

The options being used for this attempt to send changes.

Skipped declarations

No declarations were skipped in this snapshot.

All CloudKit types →