🚨 Deprecated Documentation 🚨 Please note that this documentation is no longer being updated.
During Identifcation+, you receive back potential candidates for the enrolled beneficiary. If none of the results match the beneficiary, then you can enrol the fingerprints or face biometrics that you just captured with Simprints ID without having to re-capture the biometric data.
During Enrolment+, you may receive results that we deem as a 'potential duplicate.' If the frontline worker reviews the result but determines that the person is truly unique, they can enrol the beneficiary with the 'Register Last Biometrics' callout.
Callout:
Intent intent = simHelper.registerLastBiometrics("moduleId", metadata, "sessionId");
startActivityForResult(intent, 1); // 1 is your request code for the callback
Callback:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
Boolean check = data.getBooleanExtra(Constants.SIMPRINTS_BIOMETRICS_COMPLETE_CHECK);
// We can pull the unique ID from LibSimprints by creating a registration
// object from the returned Intent data, and retrieving the GUID.
Registration registration =
data.getParcelableExtra(Constants.SIMPRINTS_REGISTRATION);
String uniqueId = registration.getGuid();
}