Type Aliases
The following type aliases are available globally.
-
Document Capture Document Capture flow result.
Declaration
Swift
public typealias DocumentCaptureCompletion = (_ result: Result<AdditionalDocumentsRequest, Error>) -> Void
Parameters
result
AdditionalDocumentsRequest
to 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
-
Declaration
Swift
public typealias ValidateIdAPICompletionV3 = (_ result: Result<CustomerValidateIdResponseV3, Error>) -> Void
-
Declaration
Swift
public typealias LiveFaceCheckAPICompletionV3 = (_ result: Result<CustomerLiveCheckResponseV3, Error>) -> Void
-
Declaration
Swift
public typealias ValidateIdMatchFaceAPICompletionV3 = (_ result: Result<CustomerValidateIdFaceMatchResponseV3, Error>) -> Void
-
Declaration
Swift
public typealias ValidateIdCustomerEnrollAPICompletionV3 = (_ result: Result<CustomerEnrollResponseV3, Error>) -> Void
-
Declaration
Swift
public typealias CustomerEnrollBiometricsAPICompletionV3 = (_ result: Result<CustomerEnrollBiometricResponseV3, Error>) -> Void
-
Declaration
Swift
public typealias CustomerIdentifyAPICompletionV3 = (_ result: Result<CustomerIdentifyResponseV3, 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
-
A general-purpose
Bool
completion closure.Declaration
Swift
public typealias BoolCompletion = (Bool) -> Void
-
A general-purpose optional
Error
completion closure.Declaration
Swift
public typealias ErrorCompletion = (Error?) -> Void
-
ID Validation Validate ID capture flow result.
Declaration
Swift
public typealias ValidateIdCompletion = (_ result: Result<ValidateIdResult, Error>) -> Void
Parameters
result
ValidateIdResult
to be submitted to the server. -
ID Autofill Autofill capture flow result.
Declaration
Swift
public typealias AutofillCompletion = (_ result: Result<AutofillResult, Error>) -> Void
Parameters
result
AutofillResult
to be submitted to the server. -
Live Face Check Live Face Detection flow result.
Declaration
Swift
public typealias LiveFaceCheckCompletion = (_ result: Result<LiveFaceCheckResult, Error>) -> Void
Parameters
result
LiveFaceCheckResult
to be submitted to the server. -
Enroll Biometric Customer Enroll Biometrics flow result.
Declaration
Swift
public typealias CustomerEnrollBiometricsCompletion = (_ result: Result<CustomerEnrollBiometricsResult, Error>) -> Void
Parameters
result
CustomerEnrollBiometricsResult
to be submitted to the server. -
Customer Verification Customer Verification flow result.
Declaration
Swift
public typealias CustomerVerificationCompletion = (_ result: Result<CustomerVerificationResult, Error>) -> Void
Parameters
result
CustomerVerificationResult
to be submitted to the server. -
Customer Biometric Verification Customer Identify flow result.
Declaration
Swift
public typealias CustomerIdentifyCompletion = (_ result: Result<CustomerIdentifyResult, Error>) -> Void
Parameters
result
CustomerIdentifyResult
to 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>) -> Void
Parameters
result
ValidateIdMatchFaceResult
to 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>) -> Void
Parameters
result
CustomerEnrollResult
to be submitted to the server. -
Signature Capture Signature Capture flow result.
Declaration
Swift
public typealias SignatureCaptureCompletion = (_ result: Result<SignatureDataRequest, Error>) -> Void
Parameters
result
SignatureDataRequest
to be submitted to the server. -
FingerPrint Capture FingerPrint Capture flow result.
Declaration
Swift
public typealias FingerPrintCaptureCompletion = (_ result: Result<FingerPrintData, Error>) -> Void
Parameters
result
FingerPrintData
to be submitted to the server. -
Video Validation Video capture flow result.
Declaration
Swift
public typealias VideoIdCompletion = (_ result: Result<VideoIdResult, Error>) -> Void
Parameters
result
VideoIdResult
video capture result. -
Voice Capture Voice Capture flow result.
Declaration
Swift
public typealias VoiceCaptureCompletion = (_ result: Result<URL, Error>) -> Void
Parameters
result
URL
of the audio data to be submitted to the server.