init
TypeScriptstatic init(): CKFetchDatabaseChangesOperationSwift declarationinit()class · iOS 10.0+ · SDK 27.1
class CKFetchDatabaseChangesOperationstatic init(): CKFetchDatabaseChangesOperationSwift declarationinit()static initPreviousServerChangeToken(previousServerChangeToken?: (CKServerChangeToken) | null): CKFetchDatabaseChangesOperationSwift declarationconvenience init(previousServerChangeToken: CKServerChangeToken?)get changeTokenUpdatedBlock(): (((arg0: CKServerChangeToken) => Promise<void>)) | nullSwift declarationvar changeTokenUpdatedBlock: ((CKServerChangeToken) -> Void)? { get set }set changeTokenUpdatedBlock(value: (((arg0: CKServerChangeToken) => void)) | null)Swift declarationvar changeTokenUpdatedBlock: ((CKServerChangeToken) -> Void)? { get set }get fetchAllChanges(): booleanSwift declarationvar fetchAllChanges: Bool { get set }set fetchAllChanges(value: boolean)Swift declarationvar fetchAllChanges: Bool { get set }get fetchDatabaseChangesCompletionBlock(): (((arg0: (CKServerChangeToken) | null, arg1: boolean, arg2: (NativeError) | null) => Promise<void>)) | nullSwift declarationvar fetchDatabaseChangesCompletionBlock: ((CKServerChangeToken?, Bool, (any Error)?) -> Void)? { get set }set fetchDatabaseChangesCompletionBlock(value: (((arg0: (CKServerChangeToken) | null, arg1: boolean, arg2: (NativeError) | null) => void)) | null)Swift declarationvar fetchDatabaseChangesCompletionBlock: ((CKServerChangeToken?, Bool, (any Error)?) -> Void)? { get set }get previousServerChangeToken(): (CKServerChangeToken) | nullSwift declaration@NSCopying var previousServerChangeToken: CKServerChangeToken? { get set }set previousServerChangeToken(value: (CKServerChangeToken) | null)Swift declaration@NSCopying var previousServerChangeToken: CKServerChangeToken? { get set }get recordZoneWithIDChangedBlock(): (((arg0: CKRecordZone_ID) => Promise<void>)) | nullSwift declarationvar recordZoneWithIDChangedBlock: ((CKRecordZone.ID) -> Void)? { get set }set recordZoneWithIDChangedBlock(value: (((arg0: CKRecordZone_ID) => void)) | null)Swift declarationvar recordZoneWithIDChangedBlock: ((CKRecordZone.ID) -> Void)? { get set }get recordZoneWithIDWasDeletedBlock(): (((arg0: CKRecordZone_ID) => Promise<void>)) | nullSwift declarationvar recordZoneWithIDWasDeletedBlock: ((CKRecordZone.ID) -> Void)? { get set }set recordZoneWithIDWasDeletedBlock(value: (((arg0: CKRecordZone_ID) => void)) | null)Swift declarationvar recordZoneWithIDWasDeletedBlock: ((CKRecordZone.ID) -> Void)? { get set }get recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock(): (((arg0: CKRecordZone_ID) => Promise<void>)) | nullSwift declarationvar recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock: ((CKRecordZone.ID) -> Void)? { get set }set recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock(value: (((arg0: CKRecordZone_ID) => void)) | null)Swift declarationvar recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock: ((CKRecordZone.ID) -> Void)? { get set }get recordZoneWithIDWasPurgedBlock(): (((arg0: CKRecordZone_ID) => Promise<void>)) | nullSwift declarationvar recordZoneWithIDWasPurgedBlock: ((CKRecordZone.ID) -> Void)? { get set }set recordZoneWithIDWasPurgedBlock(value: (((arg0: CKRecordZone_ID) => void)) | null)Swift declarationvar recordZoneWithIDWasPurgedBlock: ((CKRecordZone.ID) -> Void)? { get set }get resultsLimit(): numberSwift declarationvar resultsLimit: Int { get set }set resultsLimit(value: number)Swift declarationvar resultsLimit: Int { get set }get fetchDatabaseChangesResultBlock(): (((arg0: SDKHandle) => Promise<void>)) | nullSwift declarationvar fetchDatabaseChangesResultBlock: ((Result<(serverChangeToken: CKServerChangeToken, moreComing: Bool), any Error>) -> Void)? { get set }The closure to execute when the operation finishes. The closure has no return value and takes the following parameter: - A <doc://com.apple.documentation/documentation/swift/result> that contains either: - A successful `Result` of - The change token to store and use in subsequent instances of ``CKFetchDatabaseChangesOperation``. - A Boolean that indicates whether this is the final database change. If ``CKFetchDatabaseChangesOperation/fetchAllChanges`` is <doc://com.apple.documentation/documentation/swift/false>, it's the app's responsibility to create additional instances of ``CKFetchDatabaseChangesOperation`` to fetch further changes. - An error that contains information about a problem encountered retrieving the database changes. This closure executes only once, and represents your final opportunity to process the results. The closure executes serially with respect to the other closures of the operation. Set this property before you execute the operation or submit it to a queue.
set fetchDatabaseChangesResultBlock(value: (((arg0: SDKHandle) => void)) | null)Swift declarationvar fetchDatabaseChangesResultBlock: ((Result<(serverChangeToken: CKServerChangeToken, moreComing: Bool), any Error>) -> Void)? { get set }The closure to execute when the operation finishes. The closure has no return value and takes the following parameter: - A <doc://com.apple.documentation/documentation/swift/result> that contains either: - A successful `Result` of - The change token to store and use in subsequent instances of ``CKFetchDatabaseChangesOperation``. - A Boolean that indicates whether this is the final database change. If ``CKFetchDatabaseChangesOperation/fetchAllChanges`` is <doc://com.apple.documentation/documentation/swift/false>, it's the app's responsibility to create additional instances of ``CKFetchDatabaseChangesOperation`` to fetch further changes. - An error that contains information about a problem encountered retrieving the database changes. This closure executes only once, and represents your final opportunity to process the results. The closure executes serially with respect to the other closures of the operation. Set this property before you execute the operation or submit it to a queue.
No declarations were skipped in this snapshot.