identifyCustomer

public final static Response<String> identifyCustomer(Activity activity, AdditionalCustomerFlagData additionalCustomerFlagData, SDKCustomizationOptions sdkCustomizationOptions)
public final static Response<String> identifyCustomer(Activity activity, AdditionalCustomerFlagData additionalCustomerFlagData)
public final static Response<String> identifyCustomer(Activity activity)

Customer Identification

Capture biometric data for a Customer (face, fingerprint, voice or iris) and search the customer DB to see if its already enrolled.

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.

Parameters

activity

: Requires current activity context.

additionalCustomerBiometricsData

: Optional parameter to enable Biometric flag.

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