Mobile SDKs18 pages

Type Aliases Reference

← Browse native SDK reference

On this page · 42 sections

Type Aliases

The following type aliases are available globally.

Completion Closures

  • 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
  • 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 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.

  • 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.

  • 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.

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.