One Logo Pool Ball
CloudKit · IOS API REFERENCE

CKFetchShareParticipantsOperation

class · iOS 10.0+ · SDK 27.1

class CKFetchShareParticipantsOperation

Members (12)

init · iOS 10.0+

init

TypeScript
static init(): CKFetchShareParticipantsOperation
Swift declaration
init()
init · iOS 10.0+

init

TypeScript
static initUserIdentityLookupInfos(userIdentityLookupInfos: Array<CKUserIdentity_LookupInfo>): CKFetchShareParticipantsOperation
Swift declaration
convenience init(userIdentityLookupInfos: [CKUserIdentity.LookupInfo])
get · iOS 10.0+ · Deprecated in iOS 15.0

fetchShareParticipantsCompletionBlock

TypeScript
get fetchShareParticipantsCompletionBlock(): (((arg0: (NativeError) | null) => Promise<void>)) | null
Swift declaration
var fetchShareParticipantsCompletionBlock: (((any Error)?) -> Void)? { get set }
set · iOS 10.0+ · Deprecated in iOS 15.0

fetchShareParticipantsCompletionBlock

TypeScript
set fetchShareParticipantsCompletionBlock(value: (((arg0: (NativeError) | null) => void)) | null)
Swift declaration
var fetchShareParticipantsCompletionBlock: (((any Error)?) -> Void)? { get set }
get · iOS 10.0+ · Deprecated in iOS 15.0

shareParticipantFetchedBlock

TypeScript
get shareParticipantFetchedBlock(): (((arg0: CKShare_Participant) => Promise<void>)) | null
Swift declaration
var shareParticipantFetchedBlock: ((CKShare.Participant) -> Void)? { get set }
set · iOS 10.0+ · Deprecated in iOS 15.0

shareParticipantFetchedBlock

TypeScript
set shareParticipantFetchedBlock(value: (((arg0: CKShare_Participant) => void)) | null)
Swift declaration
var shareParticipantFetchedBlock: ((CKShare.Participant) -> Void)? { get set }
get · iOS 10.0+

userIdentityLookupInfos

TypeScript
get userIdentityLookupInfos(): (Array<CKUserIdentity_LookupInfo>) | null
Swift declaration
var userIdentityLookupInfos: [CKUserIdentity.LookupInfo]? { get set }
set · iOS 10.0+

userIdentityLookupInfos

TypeScript
set userIdentityLookupInfos(value: (Array<CKUserIdentity_LookupInfo>) | null)
Swift declaration
var userIdentityLookupInfos: [CKUserIdentity.LookupInfo]? { get set }
get · iOS 15.0+

perShareParticipantResultBlock

TypeScript
get perShareParticipantResultBlock(): (((arg0: CKUserIdentity_LookupInfo, arg1: SDKHandle) => Promise<void>)) | null
Swift declaration
var 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 · iOS 15.0+

perShareParticipantResultBlock

TypeScript
set perShareParticipantResultBlock(value: (((arg0: CKUserIdentity_LookupInfo, arg1: SDKHandle) => void)) | null)
Swift declaration
var 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 · iOS 15.0+

fetchShareParticipantsResultBlock

TypeScript
get fetchShareParticipantsResultBlock(): (((arg0: SDKHandle) => Promise<void>)) | null
Swift declaration
var 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 · iOS 15.0+

fetchShareParticipantsResultBlock

TypeScript
set fetchShareParticipantsResultBlock(value: (((arg0: SDKHandle) => void)) | null)
Swift declaration
var 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.

Skipped declarations

No declarations were skipped in this snapshot.

All CloudKit types →