Results

API results

This section lists the success results and errors returned by each top-level SDK API method. Per-module step results (delivered through callbacks such as onSelfieScanCompleted) are listed separately under Module result objects.

Error enums

Errors are delivered as a String to the onError callback. The String can be converted to one of the following enums:

init

startOnboarding

setupOnboardingSession

startNewOnboardingSection

finishFlow

startFlow

startFlowFromDeepLink

faceMatch

startFaceLogin

FaceLoginResult contains:

idProcess

IdProcessResult contains:

addFace

removeFace

getFaces

setFaces

deleteLocalUserData

getUserScore

UserScoreResult has the extendedUserScoreJsonData String field which contains full user data in a JSON format (see UserScore under Module result objects for the full structure).

addNOM151Archive

AddNom151Result contains two String fields:

getUserOCRData

GetUserOCRDataResult contains:

isInitialized

onEvents

Methods without a result

The following methods return no result object and report no errors: setSdkMode, setTheme, setString, setLocalizationLanguage, and `showCloseButton.

Module result objects

This section lists the result objects returned by the SDK, organized by module.

Phone

Specify onAddPhoneNumberCompleted to one of the start methods, to receive PhoneNumberResult:

FullName

Specify onAddFullNameCompleted to one of the start methods, to receive AddFullNameResult:

Email

Specify onAddEmailCompleted to one of the start methods, to receive AddEmailResult:

IdScan

Specify onIdFrontCompleted and/or onIdBackCompleted and/or onIdFrontAttemptCompleted and/or onIdBackAttemptCompleted to one of the start methods, to receive IdScanResult result:

SelfieScan

Specify onSelfieScanCompleted and/or onSelfieScanAttemptCompleted to one of the start methods, to receive SelfieScanResult:

FaceMatch

Specify onFaceMatchCompleted to one of the start methods, to receive FaceMatchResult:

Geolocation

Specify onGeolocationCompleted to one of the start methods, to receive GeoLocationResult:

GovernmentValidation

Specify onGovernmentValidationCompleted to one of the start methods, to receive GovernmentValidationResult:

VideoSelfie

Specify onVideoSelfieCompleted to one of the start methods, to receive VideoSelfieResult:

Antifraud

Specify onAntifraudCompleted to one of the start methods, to receive AntifraudResult:

UserScore

Specify onUserScoreFetched to one of the start methods, to receive UserScoreResult.

Approve

Specify onApproveCompleted to one of the start methods, to receive ApprovalResult.

Signature

Specify onSignatureCollected to one of the start methods, to receive SignatureResult.

Document

Specify onDocumentScanCompleted to one of the start methods, to receive DocumentScanResult.

Captcha

Specify onCaptchaCompleted to one of the start methods, to receive CaptchaResult.

CURP

Specify onCurpValidationCompleted to one of the start methods, to receive CurpValidationResult.

OCREdit

Specify onOCREditCompleted to one of the start methods, to receive OCREditResult.

EKYB

Specify onEKYBCompleted to one of the start methods, to receive EKYBResult.

EKYC

Specify onEKYCCompleted to one of the start methods, to receive EKYCResult.

MLConsent

Specify onMLConsentCompleted to one of the start methods, to receive MLConsentResult.

UserConsent

Specify onUserConsentCompleted to one of the start methods, to receive UserConsentResult.

CombinedConsent

Specify onCombinedConsentCompleted to one of the start methods, to receive CombinedConsentResult.

QRScan

Specify onQRScanCompleted to one of the start methods, to receive QRScanResult.

GlobalWatchlist

Specify onGlobalWatchlistCompleted to one of the start methods, to receive GlobalWatchlistResult.

CustomWatchlist

Specify onCustomWatchlistCompleted to one of the start methods, to receive CustomWatchlistResult.

Aes

Specify onAesCompleted to one of the start methods, to receive AesResult.

NFCScan

Specify onNFCScanCompleted to one of the start methods, to receive NFCScanResult:

FaceAuthentication

Specify onFaceAuthenticationCompleted to one of the start methods, to receive FaceAuthenticationResult: