IDentitySDK

public class IDentitySDK

Documentation for the IDentitySDK.framework methods and parameter overrides.

  • Initializes the IDentitySDK framework.

    Declaration

    Swift

    public class func initializeSDK(/*loginId: String,
                                    password: String,
                                    merchantId: String,*/
                                    language: Language = .en,
                                    isGPSEnabled: Bool = true,
                                    isUpdateModelsData: Bool = true,
                                    accessToken: String,
                                    completion: @escaping ErrorCompletion)

    Parameters

    language

    User Interface Language. Default is en (English).

    isGPSEnabled

    set true / false to enable disbale location

    isUpdateModelsData

    Whether or not to download the latest SDK models after credential verification. Default is true.

    accessToken

    accessToken generated at user

    completion

    If Error? is nil, the SDK was initialized successfully.

Document Capture

XML Request

Helper Method

Get JSON String

Get XML Tags

ID Validation (20)

Live Face Check (660)

Enroll Biometric (175)

Customer Verification (105)

Customer Biometric Verification (185)

ID Validation and Face Match (10)

Enroll Customer with ID Validation (50)

SelfieCapture + IDCapture Methods

Document Capture

Voice Capture

  • Captures voice audio data.

    Declaration

    Swift

    public class func voiceCapture(from presenter: UIViewController, completion: @escaping VoiceCaptureCompletion)

    Parameters

    presenter

    UIViewController to present the flow from.

    completion

    Returns an audio file URL.