generationMarker
TypeScriptget generationMarker(): ArrayBufferSwift declarationvar generationMarker: DataA value specific to your data source identifying the database generation you're enumerating for changes.
struct · iOS 18.0+ · SDK 27.1
struct ContactItemSyncAnchorA 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.
get generationMarker(): ArrayBufferSwift declarationvar generationMarker: DataA value specific to your data source identifying the database generation you're enumerating for changes.
set generationMarker(value: ArrayBuffer)Swift declarationvar generationMarker: DataA value specific to your data source identifying the database generation you're enumerating for changes.
static init(generationMarker: ArrayBuffer, offset: number): ContactItemSyncAnchorSwift declarationinit(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 offset(): numberSwift declarationvar offset: IntAn 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 offset(value: number)Swift declarationvar offset: IntAn 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.
No declarations were skipped in this snapshot.