Type Aliases Reference
Type Aliases
The following type aliases are available globally.
-
Document Capture Document Capture flow result.
Declaration
Swift
public typealias DocumentCaptureCompletion = (_ result: Result<AdditionalDocumentsRequest, Error>) -> VoidParameters
resultAdditionalDocumentsRequestto be submitted to the server. -
Initialize API completion response to a Initialize
InitializeRequest.Declaration
Swift
public typealias InitializeAPICompletion = (_ result: Result<InitializeResponse, Error>) -> Void -
Declaration
Swift
public typealias TemplateDetailAPICompletion = (_ result: Result<TemplateDetailResponse, Error>) -> Void -
Declaration
Swift
public typealias TrainingModelDownloadAPICompletion = (_ result: Result<TrainingModelDownloadResponse, Error>) -> Void -
Autofill API completion response to a Autofill
CustomerValidateIdRequest.Declaration
Swift
public typealias AutofillAPICompletion = (_ result: Result<CustomerAutofillResponse, Error>) -> Void -
Validate ID API completion response to a ID Validation
CustomerValidateIdRequest.Declaration
Swift
public typealias ValidateIdAPICompletion = (_ result: Result<CustomerValidateIdResponse, Error>) -> Void -
Live Face Check API completion response to a Live Face Check
CustomerLiveCheckRequest.Declaration
Swift
public typealias LiveFaceCheckAPICompletion = (_ result: Result<CustomerLiveCheckResponse, Error>) -> Void -
Validate ID Match Face API completion response to a ID Validation and Face Match
CustomerLiveCheckRequest.Declaration
Swift
public typealias ValidateIdMatchFaceAPICompletion = (_ result: Result<CustomerValidateIdFaceMatchResponse, Error>) -> Void -
Validate ID Customer Enroll API completion response to a Enroll Customer with ID Validation
CustomerEnrollRequest.Declaration
Swift
public typealias ValidateIdCustomerEnrollAPICompletion = (_ result: Result<CustomerEnrollResponse, Error>) -> Void -
Customer Enroll Biometrics API completion response to a Enroll Biometric
CustomerEnrollBiometricsRequest.Declaration
Swift
public typealias CustomerEnrollBiometricsAPICompletion = (_ result: Result<CustomerEnrollBiometricResponse, Error>) -> Void -
Customer Verification API completion response to a Customer Verification
CustomerVerifyRequest.Declaration
Swift
public typealias CustomerVerificationAPICompletion = (_ result: Result<CustomerVerifyResponse, Error>) -> Void -
Customer Identify API completion response to a Customer Biometric Verification
CustomerIdentifyRequest.Declaration
Swift
public typealias CustomerIdentifyAPICompletion = (_ result: Result<CustomerIdentifyResponse, Error>) -> Void -
Generic API completion response to a GenericAPI
genericApiCall.Declaration
Swift
public typealias GenericAPICompletion = (_ result: Result<[String : Any], Error>) -> Void -
A general-purpose
Boolcompletion closure.Declaration
Swift
public typealias BoolCompletion = (Bool) -> Void -
A general-purpose optional
Errorcompletion closure.Declaration
Swift
public typealias ErrorCompletion = (Error?) -> Void -
ID Validation Validate ID capture flow result.
Declaration
Swift
public typealias ValidateIdCompletion = (_ result: Result<ValidateIdResult, Error>) -> VoidParameters
resultValidateIdResultto be submitted to the server. -
Live Face Check Live Face Detection flow result.
Declaration
Swift
public typealias LiveFaceCheckCompletion = (_ result: Result<LiveFaceCheckResult, Error>) -> VoidParameters
resultLiveFaceCheckResultto be submitted to the server. -
Enroll Biometric Customer Enroll Biometrics flow result.
Declaration
Swift
public typealias CustomerEnrollBiometricsCompletion = (_ result: Result<CustomerEnrollBiometricsResult, Error>) -> VoidParameters
resultCustomerEnrollBiometricsResultto be submitted to the server. -
Customer Verification Customer Verification flow result.
Declaration
Swift
public typealias CustomerVerificationCompletion = (_ result: Result<CustomerVerificationResult, Error>) -> VoidParameters
resultCustomerVerificationResultto be submitted to the server. -
Customer Biometric Verification Customer Identify flow result.
Declaration
Swift
public typealias CustomerIdentifyCompletion = (_ result: Result<CustomerIdentifyResult, Error>) -> VoidParameters
resultCustomerIdentifyResultto be submitted to the server. -
ID Validation and Face Match Validate ID and Match Face flow result.
Declaration
Swift
public typealias ValidateIdMatchFaceCompletion = (_ result: Result<ValidateIdMatchFaceResult, Error>) -> VoidParameters
resultValidateIdMatchFaceResultto be submitted to the server. -
Enroll Customer with ID Validation Validate ID and Customer Enroll flow result.
Declaration
Swift
public typealias ValidateIdCustomerEnrollCompletion = (_ result: Result<CustomerEnrollResult, Error>) -> VoidParameters
resultCustomerEnrollResultto be submitted to the server. -
Signature Capture Signature Capture flow result.
Declaration
Swift
public typealias SignatureCaptureCompletion = (_ result: Result<SignatureDataRequest, Error>) -> VoidParameters
resultSignatureDataRequestto be submitted to the server. -
FingerPrint Capture FingerPrint Capture flow result.
Declaration
Swift
public typealias FingerPrintCaptureCompletion = (_ result: Result<FingerPrintData, Error>) -> VoidParameters
resultFingerPrintDatato be submitted to the server. -
Voice Capture Voice Capture flow result.
Declaration
Swift
public typealias VoiceCaptureCompletion = (_ result: Result<URL, Error>) -> VoidParameters
resultURLof the audio data to be submitted to the server.
Archive aliases omitted by the source
The published iOS reference links the following Archive aliases, but does not publish their declarations. The Archive method signatures and parameter descriptions are preserved. These are known source documentation gaps.
CRC32
The declaration is absent from the published SDK reference. Read the Archive methods that use this alias.
Consumer
The declaration is absent from the published SDK reference. Read the Archive methods that use this alias.
Provider
The declaration is absent from the published SDK reference. Read the Archive methods that use this alias.
Report a docs issue
Copy this context into your team’s issue tracker or an email to support@idmission.com.
