init
TypeScriptstatic init(): CKDiscoverUserIdentitiesOperationSwift declarationinit()class · iOS 10.0+ · Deprecated in iOS 17.0 · SDK 27.1
class CKDiscoverUserIdentitiesOperationstatic init(): CKDiscoverUserIdentitiesOperationSwift declarationinit()static initUserIdentityLookupInfos(userIdentityLookupInfos: Array<CKUserIdentity_LookupInfo>): CKDiscoverUserIdentitiesOperationSwift declarationconvenience init(userIdentityLookupInfos: [CKUserIdentity.LookupInfo])get discoverUserIdentitiesCompletionBlock(): (((arg0: (NativeError) | null) => Promise<void>)) | nullSwift declarationvar discoverUserIdentitiesCompletionBlock: (((any Error)?) -> Void)? { get set }set discoverUserIdentitiesCompletionBlock(value: (((arg0: (NativeError) | null) => void)) | null)Swift declarationvar discoverUserIdentitiesCompletionBlock: (((any Error)?) -> Void)? { get set }get userIdentityDiscoveredBlock(): (((arg0: CKUserIdentity, arg1: CKUserIdentity_LookupInfo) => Promise<void>)) | nullSwift declarationvar userIdentityDiscoveredBlock: ((CKUserIdentity, CKUserIdentity.LookupInfo) -> Void)? { get set }set userIdentityDiscoveredBlock(value: (((arg0: CKUserIdentity, arg1: CKUserIdentity_LookupInfo) => void)) | null)Swift declarationvar userIdentityDiscoveredBlock: ((CKUserIdentity, CKUserIdentity.LookupInfo) -> Void)? { get set }get userIdentityLookupInfos(): Array<CKUserIdentity_LookupInfo>Swift declarationvar userIdentityLookupInfos: [CKUserIdentity.LookupInfo] { get set }set userIdentityLookupInfos(value: Array<CKUserIdentity_LookupInfo>)Swift declarationvar userIdentityLookupInfos: [CKUserIdentity.LookupInfo] { get set }get discoverUserIdentitiesResultBlock(): (((arg0: SDKHandle) => Promise<void>)) | nullSwift declarationvar discoverUserIdentitiesResultBlock: ((Result<Void, any Error>) -> Void)? { get set }The closure to execute when the operation finishes. The closure returns no value and takes 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 fetching the user identities. This closure executes only once, after all of the individual discovery closures finish. The closure executes serially with respect to the operation's other closures. If you intend to use this closure to process results, update the property's value before you execute the operation or submit it to a queue.
set discoverUserIdentitiesResultBlock(value: (((arg0: SDKHandle) => void)) | null)Swift declarationvar discoverUserIdentitiesResultBlock: ((Result<Void, any Error>) -> Void)? { get set }The closure to execute when the operation finishes. The closure returns no value and takes 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 fetching the user identities. This closure executes only once, after all of the individual discovery closures finish. The closure executes serially with respect to the operation's other closures. If you intend to use this closure to process results, update the property's value before you execute the operation or submit it to a queue.
No declarations were skipped in this snapshot.