Parsing Responses
Important
Implement the delegate function onFinishSelfieScan(_ selfieScanData: CFASelfieScanData!) to receive responses from the SDK. For more details, see Initial Integration.
Image results are returned within the CFASelfieScanData object as follows:
Property |
Description |
|---|---|
selfieData |
The image data of the captured near selfie |
farSelfieData |
The image data of the captured far selfie |
livenessSelfieData |
The image data of the captured near liveness selfie |
farLivenessSelfieData |
The image data of the captured far liveness selfie |
autoCaptured |
Informs if the near selfie was auto captured |
farSelfieAutoCaptured |
Informs if the far selfie was auto captured |
Note
Liveness selfie images are only available if captureLivenessOnConfirmation is set to true. This setting can be found in CFASelfieSettings and CFAFarSelfieSettings.