One Logo Pool Ball
ContactProvider · IOS API REFERENCE

ContactItemSyncAnchor

struct · iOS 18.0+ · SDK 27.1

struct ContactItemSyncAnchor

A snapshot point into enumerating changed contact items. You can break an enumeration of changes into batches with multiple anchors to reduce the memory constraints on the system. During enumeration, you may update the `generationMarker` and `offset` to reflect progress enumerating the changes as they occurred, possibly across mutiple database generations and how many changes occurred within each database generation.

Members (5)

get · iOS 18.0+

generationMarker

TypeScript
get generationMarker(): ArrayBuffer
Swift declaration
var generationMarker: Data

A value specific to your data source identifying the database generation you're enumerating for changes.

set · iOS 18.0+

generationMarker

TypeScript
set generationMarker(value: ArrayBuffer)
Swift declaration
var generationMarker: Data

A value specific to your data source identifying the database generation you're enumerating for changes.

init · iOS 18.0+

init

TypeScript
static init(generationMarker: ArrayBuffer, offset: number): ContactItemSyncAnchor
Swift declaration
init(generationMarker: Data, offset: Int)

Creates a sync anchor with the given generation marker and offset. - Parameters: - generationMarker: A marker that indicates the database generation being enumerated for changes. - offset: An offset from the generation marker.

get · iOS 18.0+

offset

TypeScript
get offset(): number
Swift declaration
var offset: Int

An offset from the anchor's generation marker. You can use the offset to track a contiguous number of contact items you've successfully enumerated within the database generation.

set · iOS 18.0+

offset

TypeScript
set offset(value: number)
Swift declaration
var offset: Int

An offset from the anchor's generation marker. You can use the offset to track a contiguous number of contact items you've successfully enumerated within the database generation.

Skipped declarations

No declarations were skipped in this snapshot.

All ContactProvider types →