idValidationAndcustomerEnroll

public final Unit idValidationAndcustomerEnroll(Activity activity, Boolean isBackCaptureRequired, String uniqueNumber, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)

Enroll - Medium SDK

Capturing ID document(s), validate that ID and extract data from it. Additionally capture a selfie of the customer and match it against the photo on the ID, then enroll all captured biometrics with the customer if the match is positive.

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.

uniqueNumber

Requires unique customer number.

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 idValidationAndcustomerEnroll(Activity activity, IdTypeMaster idType, CountryMaster idCountry, StateMasterVO idState, String uniqueNumber, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)

Enroll - Medium SDK

Capturing ID document(s), validate that ID and extract data from it. Additionally capture a selfie of the customer and match it against the photo on the ID, then enroll all captured biometrics with the customer if the match is positive.

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 idValidationAndcustomerEnroll(Activity activity, String uniqueNumber, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)

Enroll - Full SDK

Capturing ID document(s), validate that ID and extract data from it. Additionally capture a selfie of the customer and match it against the photo on the ID, then enroll all captured biometrics with the customer if the match is positive.

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