live Face Check
Live Face Check
Live Face Detection features the ability to perform of a liveness check of the photo image that is sent via API.
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.
sdk Customization Options
: 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