autoFill

public final Response<String> autoFill(Activity activity, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)

Auto Fill

Autofill Customer Data by using ID and extract data from it.

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
            }
        }
    }
}

You can access processed captures at the following indexes :

0 - ProcessedCapture instance for ID AutoFill data.

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.