id Validation Andcustomer Enroll
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
: Requires current activity context.
: Requires Boolean value to capture Back Image of ID.
Requires unique customer number.
: Optional parameter to enable Additional Flags.
: 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
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
: Requires current activity context.
: Requires instance of IdTypeMaster which determines ID type of ID.
: Requires instance of CountryMaster which determines Country of ID.
: Optional parameter instance of StateMasterVO which determines State of ID.
: Optional parameter to enable Additional Flags.
: 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
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
: Requires current activity context.
: Optional parameter to enable Additional Flags.
: 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