Skip to content

Results

When the steps are done, fetch the transaction’s result with its ID:

ServerCall.getIdInfoWithTid(transactionId, new TechsignServiceListener<IdInfoReturnModel>() {
@Override
public void onSuccess(IdInfoReturnModel info) {
ControlEntryModel[] controls = info.getControlResults();
String name = info.getName();
String surname = info.getSurname();
String photoBase64 = info.getPicture();
}
@Override
public void onFailure(Exception e) { }
});

Every step returns one or more control results (ControlEntryModel):

Field Description
getEntryType() Name of the control (e.g. HOLOGRAM, FACE, FACELIVENESSAI)
getEntryScore() Score between 0 and 1
getEntryInterpretation() Whether the control passed
getEntryDesc() Description
getEntryDate() Date

Common controls:

Control Meaning
FACE Live face matches the document photo
FACELIVENESSAI Liveness
FACELIVENESSGESTURE The requested gesture was made
HOLOGRAM Hologram detected
SCREENATTACKFRONT, SCREENATTACKBACK Document shown from a screen
PHOTOSHOPCONTROL Image tampering
MRZDOCNUMCHECKSUMVALID MRZ document number check
CHIPDETECTION Chip present