idValidationAndMatchFace

public final Unit idValidationAndMatchFace(Activity activity, Boolean isBackCaptureRequired, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)

Match Face - Medium SDK

Capturing ID document(s), validate the ID and extract data from it. Additionally capture a selfie and match it against the photo on the ID.

Developer Guides :

public class YourActivity extends Activity {
    private var processedCaptures: List? = null

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
        if (resultCode == RESULT_OK) {
            if(!data.extras?.getParcelableArray(IdMissionCaptureLauncher.EXTRA_PROCESSED_CAPTURES.isNullOrEmpty()) {
                processedCaptures = data.extras?.getParcelableArray(IdMissionCaptureLauncher.EXTRA_PROCESSED_CAPTURES
            }
            //finalSubmit call for submit data to the server
            CoroutineScope(Dispatchers.Main).launch {
                 var response = IdentityProofingSDK.finalSubmit(applicationContext)
            }
        }
    }
}

You can access processed captures at the following indexes :

0 - ProcessedCapture instance for Selfie.
1 - ProcessedCapture instance for ID front.
2 - ProcessedCapture instance for ID back.

Parameters

activity

: Requires current activity context.

isBackCaptureRequired

: Requires Boolean value to capture Back Image of ID.

additionalDataFlag

: Optional parameter to enable Additional Flags.

sdkCustomizationOptions

: Optional parameter to customize camera options. It will take default options, if null or not passed while invocation.



For status and error code please refer to Status documentation

public final Unit idValidationAndMatchFace(Activity activity, IdTypeMaster idType, CountryMaster idCountry, StateMasterVO idState, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)

Match Face - Medium SDK

Capturing ID document(s), validate the ID and extract data from it. Additionally capture a selfie and match it against the photo on the ID.

Developer Guides :

public class YourActivity extends Activity {
    private var processedCaptures: List? = null

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
        if (resultCode == RESULT_OK) {
            if(!data.extras?.getParcelableArray(IdMissionCaptureLauncher.EXTRA_PROCESSED_CAPTURES.isNullOrEmpty()) {
                processedCaptures = data.extras?.getParcelableArray(IdMissionCaptureLauncher.EXTRA_PROCESSED_CAPTURES
            }
            //finalSubmit call for submit data to the server
            CoroutineScope(Dispatchers.Main).launch {
                 var response = IdentityProofingSDK.finalSubmit(applicationContext)
            }
        }
    }
}

You can access processed captures at the following indexes :

0 - ProcessedCapture instance for Selfie.
1 - ProcessedCapture instance for ID front.
2 - ProcessedCapture instance for ID back.

Parameters

activity

: Requires current activity context.

idType

: Requires instance of IdTypeMaster which determines ID type of ID.

idCountry

: Requires instance of CountryMaster which determines Country of ID.

idState

: Optional parameter instance of StateMasterVO which determines State of ID.

additionalDataFlag

: Optional parameter to enable Additional Flags.

sdkCustomizationOptions

: Optional parameter to customize camera options. It will take default options, if null or not passed while invocation.



For status and error code please refer to Status documentation

public final Unit idValidationAndMatchFace(Activity activity, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)

Match Face - Full SDK

Capturing ID document(s), validate the ID and extract data from it. Additionally capture a selfie and match it against the photo on the ID.

Developer Guides :

public class YourActivity extends Activity {
    private var processedCaptures: List? = null

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
        if (resultCode == RESULT_OK) {
            if(!data.extras?.getParcelableArray(IdMissionCaptureLauncher.EXTRA_PROCESSED_CAPTURES.isNullOrEmpty()) {
                processedCaptures = data.extras?.getParcelableArray(IdMissionCaptureLauncher.EXTRA_PROCESSED_CAPTURES
            }
            //finalSubmit call for submit data to the server
            CoroutineScope(Dispatchers.Main).launch {
                 var response = IdentityProofingSDK.finalSubmit(applicationContext)
            }
        }
    }
}

You can access processed captures at the following indexes :

0 - ProcessedCapture instance for Selfie.
1 - ProcessedCapture instance for ID front.
2 - ProcessedCapture instance for ID back.

Parameters

activity

: Requires current activity context.

additionalDataFlag

: Optional parameter to enable Additional Flags.

sdkCustomizationOptions

: Optional parameter to customize camera options. It will take default options, if null or not passed while invocation.



For status and error code please refer to Status documentation