fetchAllRecordZonesOperation
TypeScriptstatic fetchAllRecordZonesOperation(): CKFetchRecordZonesOperationSwift declarationclass func fetchAllRecordZonesOperation() -> Selfclass · iOS 8.0+ · SDK 27.1
class CKFetchRecordZonesOperationstatic fetchAllRecordZonesOperation(): CKFetchRecordZonesOperationSwift declarationclass func fetchAllRecordZonesOperation() -> Selfstatic init(): CKFetchRecordZonesOperationSwift declarationinit()static initRecordZoneIDs(zoneIDs: Array<CKRecordZone_ID>): CKFetchRecordZonesOperationSwift declarationconvenience init(recordZoneIDs zoneIDs: [CKRecordZone.ID])get fetchRecordZonesCompletionBlock(): (((arg0: (NativeMap<CKRecordZone_ID, CKRecordZone>) | null, arg1: (NativeError) | null) => Promise<void>)) | nullSwift declarationvar fetchRecordZonesCompletionBlock: (([CKRecordZone.ID : CKRecordZone]?, (any Error)?) -> Void)? { get set }set fetchRecordZonesCompletionBlock(value: (((arg0: (NativeMap<CKRecordZone_ID, CKRecordZone>) | null, arg1: (NativeError) | null) => void)) | null)Swift declarationvar fetchRecordZonesCompletionBlock: (([CKRecordZone.ID : CKRecordZone]?, (any Error)?) -> Void)? { get set }get recordZoneIDs(): (Array<CKRecordZone_ID>) | nullSwift declarationvar recordZoneIDs: [CKRecordZone.ID]? { get set }set recordZoneIDs(value: (Array<CKRecordZone_ID>) | null)Swift declarationvar recordZoneIDs: [CKRecordZone.ID]? { get set }get perRecordZoneResultBlock(): (((arg0: CKRecordZone_ID, arg1: SDKHandle) => Promise<void>)) | nullSwift declarationvar perRecordZoneResultBlock: ((CKRecordZone.ID, Result<CKRecordZone, any Error>) -> Void)? { get set }The closure to execute when a record zone becomes available. This property is a closure that returns no value and has the following parameters: - The ID of the record zone. - A <doc://com.apple.documentation/documentation/swift/result> that contains either a retrieved record zone, or an error that describes why CloudKit can't retrieve the record zone. The fetch operation executes this closure once for each record zone ID in the ``CKFetchRecordZonesOperation/recordZoneIDs`` property. Each time the closure executes, it executes serially with respect to the other closures of the operation. If you intend to use this closure to process results, set it before you execute the operation or submit the operation to a queue.
set perRecordZoneResultBlock(value: (((arg0: CKRecordZone_ID, arg1: SDKHandle) => void)) | null)Swift declarationvar perRecordZoneResultBlock: ((CKRecordZone.ID, Result<CKRecordZone, any Error>) -> Void)? { get set }The closure to execute when a record zone becomes available. This property is a closure that returns no value and has the following parameters: - The ID of the record zone. - A <doc://com.apple.documentation/documentation/swift/result> that contains either a retrieved record zone, or an error that describes why CloudKit can't retrieve the record zone. The fetch operation executes this closure once for each record zone ID in the ``CKFetchRecordZonesOperation/recordZoneIDs`` property. Each time the closure executes, it executes serially with respect to the other closures of the operation. If you intend to use this closure to process results, set it before you execute the operation or submit the operation to a queue.
get fetchRecordZonesResultBlock(): (((arg0: SDKHandle) => Promise<void>)) | nullSwift declarationvar fetchRecordZonesResultBlock: ((Result<Void, any Error>) -> Void)? { get set }The closure to execute after CloudKit retrieves all of the record zones. This property is a closure that returns no value and has the following parameter: - A <doc://com.apple.documentation/documentation/swift/result> that contains either: - A successful `Result`, or - An error that contains information about a problem encountered retrieving the record zones. The fetch operation executes this closure only once. The closure executes before the operation's completion closure. The closure executes serially with respect to the other closures of the operation. If you intend to use this closure to process results, set it before you execute the operation or submit the operation to a queue.
set fetchRecordZonesResultBlock(value: (((arg0: SDKHandle) => void)) | null)Swift declarationvar fetchRecordZonesResultBlock: ((Result<Void, any Error>) -> Void)? { get set }The closure to execute after CloudKit retrieves all of the record zones. This property is a closure that returns no value and has the following parameter: - A <doc://com.apple.documentation/documentation/swift/result> that contains either: - A successful `Result`, or - An error that contains information about a problem encountered retrieving the record zones. The fetch operation executes this closure only once. The closure executes before the operation's completion closure. The closure executes serially with respect to the other closures of the operation. If you intend to use this closure to process results, set it before you execute the operation or submit the operation to a queue.
No declarations were skipped in this snapshot.