idValidation

public final static Response<String> idValidation(Activity activity, CaptureBack isBackCapture, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)
public final static Response<String> idValidation(Activity activity, CaptureBack isBackCapture, AdditionalCustomerFlagData additionalDataFlag)
public final static Response<String> idValidation(Activity activity, CaptureBack isBackCapture)
public final static Response<String> idValidation(Activity activity)

ID Validation

Capturing ID document(s), validate the ID and extract data from it. It launches the camera to capture ID Document and return the result as obtained in the form of Intent in onActivityResult.

Developer Guides :

public class YourActivity extends Activity {
    private var processedCaptures: List<ProcessedCapture>? = 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)
                         ?.toList() as List<ProcessedCapture>?
             }
         }
     }
}

You can access processed captures at the following indexes :

0 - ProcessedCapture instance for ID front.
1 - 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.


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

ID Validation - Medium SDK

Capturing ID document(s), validate the ID and extract data from it. It launches the camera to capture ID Document and return the result as obtained in the form of Intent in onActivityResult.

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 ID front.
1 - 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 idValidation(Activity activity, AdditionalCustomerFlagData additionalDataFlag, SDKCustomizationOptions sdkCustomizationOptions)

ID Validation- Full SDK

Capturing ID document(s), validate the ID and extract data from it. It launches the camera to capture ID Document and return the result as obtained in the form of Intent in onActivityResult.

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 ID front.
1 - 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