init
TypeScriptstatic init(): CKFetchShareParticipantsOperationSwift declarationinit()class · iOS 10.0+ · SDK 27.1
class CKFetchShareParticipantsOperationstatic init(): CKFetchShareParticipantsOperationSwift declarationinit()static initUserIdentityLookupInfos(userIdentityLookupInfos: Array<CKUserIdentity_LookupInfo>): CKFetchShareParticipantsOperationSwift declarationconvenience init(userIdentityLookupInfos: [CKUserIdentity.LookupInfo])get fetchShareParticipantsCompletionBlock(): (((arg0: (NativeError) | null) => Promise<void>)) | nullSwift declarationvar fetchShareParticipantsCompletionBlock: (((any Error)?) -> Void)? { get set }set fetchShareParticipantsCompletionBlock(value: (((arg0: (NativeError) | null) => void)) | null)Swift declarationvar fetchShareParticipantsCompletionBlock: (((any Error)?) -> Void)? { get set }get shareParticipantFetchedBlock(): (((arg0: CKShare_Participant) => Promise<void>)) | nullSwift declarationvar shareParticipantFetchedBlock: ((CKShare.Participant) -> Void)? { get set }set shareParticipantFetchedBlock(value: (((arg0: CKShare_Participant) => void)) | null)Swift declarationvar shareParticipantFetchedBlock: ((CKShare.Participant) -> Void)? { get set }get userIdentityLookupInfos(): (Array<CKUserIdentity_LookupInfo>) | nullSwift declarationvar userIdentityLookupInfos: [CKUserIdentity.LookupInfo]? { get set }set userIdentityLookupInfos(value: (Array<CKUserIdentity_LookupInfo>) | null)Swift declarationvar userIdentityLookupInfos: [CKUserIdentity.LookupInfo]? { get set }get perShareParticipantResultBlock(): (((arg0: CKUserIdentity_LookupInfo, arg1: SDKHandle) => Promise<void>)) | nullSwift declarationvar perShareParticipantResultBlock: ((CKUserIdentity.LookupInfo, Result<CKShare.Participant, any Error>) -> Void)? { get set }The closure to execute as the operation generates individual participants. This property is a closure that returns no value and has the following parameters: - The lookup info of the share participant. - A <doc://com.apple.documentation/documentation/swift/result> that contains either a generated share participant, or an error that describes why CloudKit can't generate the share participant. The fetch operation executes this closure once for each lookup info in the ``CKFetchShareParticipantsOperation/userIdentityLookupInfos`` 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 perShareParticipantResultBlock(value: (((arg0: CKUserIdentity_LookupInfo, arg1: SDKHandle) => void)) | null)Swift declarationvar perShareParticipantResultBlock: ((CKUserIdentity.LookupInfo, Result<CKShare.Participant, any Error>) -> Void)? { get set }The closure to execute as the operation generates individual participants. This property is a closure that returns no value and has the following parameters: - The lookup info of the share participant. - A <doc://com.apple.documentation/documentation/swift/result> that contains either a generated share participant, or an error that describes why CloudKit can't generate the share participant. The fetch operation executes this closure once for each lookup info in the ``CKFetchShareParticipantsOperation/userIdentityLookupInfos`` 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 fetchShareParticipantsResultBlock(): (((arg0: SDKHandle) => Promise<void>)) | nullSwift declarationvar fetchShareParticipantsResultBlock: ((Result<Void, any Error>) -> Void)? { get set }The closure to execute when the operation finishes. 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 generating the share participants. 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 fetchShareParticipantsResultBlock(value: (((arg0: SDKHandle) => void)) | null)Swift declarationvar fetchShareParticipantsResultBlock: ((Result<Void, any Error>) -> Void)? { get set }The closure to execute when the operation finishes. 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 generating the share participants. 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.