Class IncodeWelcome.OnboardingListener
-
- All Implemented Interfaces:
-
com.incode.welcome_sdk.IncodeWelcome.IOnboardingListener,com.incode.welcome_sdk.listeners.AESListener,com.incode.welcome_sdk.listeners.AcceptVideoSelfieListener,com.incode.welcome_sdk.listeners.AntifraudListener,com.incode.welcome_sdk.listeners.ApproveListener,com.incode.welcome_sdk.listeners.BaseListener,com.incode.welcome_sdk.listeners.CaptchaListener,com.incode.welcome_sdk.listeners.CurpValidationListener,com.incode.welcome_sdk.listeners.DocumentValidationListener,com.incode.welcome_sdk.listeners.DynamicFormsListener,com.incode.welcome_sdk.listeners.EKYBListener,com.incode.welcome_sdk.listeners.EKYCListener,com.incode.welcome_sdk.listeners.EmailAddressListener,com.incode.welcome_sdk.listeners.ErrorListener,com.incode.welcome_sdk.listeners.EstimatedWaitingTimeListener,com.incode.welcome_sdk.listeners.EventListener,com.incode.welcome_sdk.listeners.FaceAuthenticationListener,com.incode.welcome_sdk.listeners.FaceMatchListener,com.incode.welcome_sdk.listeners.GeolocationListener,com.incode.welcome_sdk.listeners.GovernmentValidationListener,com.incode.welcome_sdk.listeners.IdInfoListener,com.incode.welcome_sdk.listeners.IdProcessListener,com.incode.welcome_sdk.listeners.IdScanListener,com.incode.welcome_sdk.listeners.IntroListener,com.incode.welcome_sdk.listeners.MachineLearningConsentListener,com.incode.welcome_sdk.listeners.NameListener,com.incode.welcome_sdk.listeners.NfcScanListener,com.incode.welcome_sdk.listeners.OnboardingSectionCompletedListener,com.incode.welcome_sdk.listeners.OnboardingSessionListener,com.incode.welcome_sdk.listeners.PhoneNumberListener,com.incode.welcome_sdk.listeners.ProcessCustomWatchlistListener,com.incode.welcome_sdk.listeners.ProcessGlobalWatchlistListener,com.incode.welcome_sdk.listeners.QESListener,com.incode.welcome_sdk.listeners.QRScanListener,com.incode.welcome_sdk.listeners.QueuePositionChangeListener,com.incode.welcome_sdk.listeners.SSLPinningFailedListener,com.incode.welcome_sdk.listeners.SelfieScanListener,com.incode.welcome_sdk.listeners.SignatureFormListener,com.incode.welcome_sdk.listeners.SuccessListener,com.incode.welcome_sdk.listeners.TaxIdValidationListener,com.incode.welcome_sdk.listeners.UserCancelledListener,com.incode.welcome_sdk.listeners.UserConsentListener,com.incode.welcome_sdk.listeners.UserScoreListener,com.incode.welcome_sdk.listeners.VideoConferenceListener,com.incode.welcome_sdk.listeners.VideoSelfieListener
public class IncodeWelcome.OnboardingListener implements IncodeWelcome.IOnboardingListener
-
-
Constructor Summary
Constructors Constructor Description IncodeWelcome.OnboardingListener()
-
Method Summary
Modifier and Type Method Description UnitonAESCompleted(AESResult aesResult)Called when AES module is completed UnitonQESCompleted(QESResult qesResult)Called when QES module is completed UnitonOnboardingSessionCreated(String token, String interviewId, String region)Called when onboarding session is created successfully UnitonIntroCompleted()Called when intro is completed UnitonAddPhoneCompleted(PhoneNumberResult phoneNumberResult)Called when add phone is completed UnitonAddEmailCompleted(EmailAddressResult emailAddressResult)Called when add email is completed UnitonAddNameCompleted(NameResult nameResult)Called when add name is completed UnitonQRScanCompleted(QRScanResult qrScanResult)Called when QR scan is completed UnitonIdValidationCompleted(IdValidationResult idValidationResult)UnitonCurpValidationCompleted(CurpValidationResult curpValidationResult)This method is called when CURP validation is finished UnitonDocumentValidationCompleted(DocumentType documentType, DocumentValidationResult documentValidationResult)Called when address validation is completed UnitonGeolocationFetched(GeolocationResult geolocationResult)Called when the geolocation is fetched UnitonGeolocationUnavailable(Throwable error)Called when the user geolocation is not available UnitonSelfieScanCompleted(SelfieScanResult selfieScanResult)Called when selfie scan step is completed UnitonSelfieScanReady(NonUiSelfieScanController controller)Called when selfie scan controller is ready to be used. UnitonFaceMatchCompleted(FaceMatchResult faceMatchResult)Called when selfie scan step is completed UnitonFaceAuthenticationCompleted(FaceAuthenticationResult faceAuthenticationResult)UnitonGovernmentValidationCompleted(Boolean success)Called when Government validation is completed true if the validation was successful, false otherwise UnitonSignatureCollected(SignatureFormResult signatureFormResult)Called when collect signature is completed UnitonUserConsentCompleted()Called when add user consent is completed UnitonCombinedConsentCompleted(CombinedConsentResult combinedConsentResult)UnitonCaptchaCollected(CaptchaResult captchaResult)This method is called when captcha is entered UnitonUserAcceptedVideoSelfie()This method is called when user accepts video selfie recording UnitonVideoRecorded(VideoSelfieResult videoSelfieResult)This method is called when video selfie recording is finished and uploaded. UnitonApproveCompleted(ApproveResult approveResult)This method is called when user approval is completed UnitonResultsShown(UserScoreResult userScoreResult)This method is called when show results is completed UnitonQueuePositionChanged(Integer newQueuePosition)Called when queue position is updated. UnitonEstimatedWaitingTime(Integer waitingTimeInSeconds)Called only once with the estimated waiting time in the queue. UnitonConferenceEnded()Called when video conference ends UnitonSuccess()Called when onboarding succeeds UnitonError(Throwable error)Called when there is an error UnitonUserCancelled()This method is called when user cancels the flow by pressing back UnitonOnboardingSectionCompleted(String flowTag)Called when an onboarding section is completed. UnitonIdScanReady(NonUiIdScanController controller)Called when the NonUiIdScanController is ready to be used. UnitonIdFrontCompleted(IdScanResult frontIdScanResult)Called when the front of an ID or a Passport Photo page scan is completed. UnitonIdBackCompleted(IdScanResult backIdScanResult)Called when the back of an ID scan is completed. UnitonIdProcessed(IdProcessResult idProcessResult)UnitonEKYBChecksCompleted(EKYBResult ekybResult)Called when EKYB checks are completed UnitonEKYCChecksCompleted(EKYCResult ekycResult)UnitonEvent(Event event, HashMap<String, Object> eventData)Called when event is being sent to the server UnitonEvent(InterviewEventResult eventResult)UnitonCustomWatchlistProcessed(CustomWatchlistResult customWatchlistResult)UnitonGlobalWatchlistProcessed(GlobalWatchlistResult globalWatchlistResult)Called when the global watchlist is processed UnitonMachineLearningConsentCompleted(MachineLearningConsentResult result)UnitonNfcScanCompleted(NfcScanResult nfcScanResult)Called when the NFC chip on an ID's scan is completed. UnitonSSLPinningFailed()This method is called when SSL Pinning Certificate fails UnitonIdInfoCompleted(IdInfoResult idInfoResult)UnitonAntifraudCompleted(AntifraudResult antifraudResult)UnitonTaxIdValidationCompleted(Boolean isSuccess)Called when Tax ID validation is completed. UnitonDynamicFormsCompleted(DynamicFormsResult dynamicFormsResult)-
-
Method Detail
-
onAESCompleted
Unit onAESCompleted(AESResult aesResult)
Called when AES module is completed
- Parameters:
aesResult- Result of AES module
-
onQESCompleted
Unit onQESCompleted(QESResult qesResult)
Called when QES module is completed
- Parameters:
qesResult- Result of QES module
-
onOnboardingSessionCreated
Unit onOnboardingSessionCreated(String token, String interviewId, String region)
Called when onboarding session is created successfully
-
onIntroCompleted
Unit onIntroCompleted()
Called when intro is completed
-
onAddPhoneCompleted
Unit onAddPhoneCompleted(PhoneNumberResult phoneNumberResult)
Called when add phone is completed
-
onAddEmailCompleted
Unit onAddEmailCompleted(EmailAddressResult emailAddressResult)
Called when add email is completed
- Parameters:
emailAddressResult- Result of Email module
-
onAddNameCompleted
Unit onAddNameCompleted(NameResult nameResult)
Called when add name is completed
- Parameters:
nameResult- Result of Name Capture module
-
onQRScanCompleted
Unit onQRScanCompleted(QRScanResult qrScanResult)
Called when QR scan is completed
-
onIdValidationCompleted
@Deprecated(message = "") Unit onIdValidationCompleted(IdValidationResult idValidationResult)
-
onCurpValidationCompleted
Unit onCurpValidationCompleted(CurpValidationResult curpValidationResult)
This method is called when CURP validation is finished
-
onDocumentValidationCompleted
Unit onDocumentValidationCompleted(DocumentType documentType, DocumentValidationResult documentValidationResult)
Called when address validation is completed
-
onGeolocationFetched
Unit onGeolocationFetched(GeolocationResult geolocationResult)
Called when the geolocation is fetched
-
onGeolocationUnavailable
Unit onGeolocationUnavailable(Throwable error)
Called when the user geolocation is not available
-
onSelfieScanCompleted
Unit onSelfieScanCompleted(SelfieScanResult selfieScanResult)
Called when selfie scan step is completed
- Parameters:
selfieScanResult- Result of the face scan step that includes spoof confidence and path to the face img
-
onSelfieScanReady
Unit onSelfieScanReady(NonUiSelfieScanController controller)
Called when selfie scan controller is ready to be used.
- Parameters:
controller- Instance of NonUiSelfieScanController
-
onFaceMatchCompleted
Unit onFaceMatchCompleted(FaceMatchResult faceMatchResult)
Called when selfie scan step is completed
-
onFaceAuthenticationCompleted
Unit onFaceAuthenticationCompleted(FaceAuthenticationResult faceAuthenticationResult)
-
onGovernmentValidationCompleted
Unit onGovernmentValidationCompleted(Boolean success)
Called when Government validation is completed
true if the validation was successful, false otherwise
-
onSignatureCollected
Unit onSignatureCollected(SignatureFormResult signatureFormResult)
Called when collect signature is completed
-
onUserConsentCompleted
Unit onUserConsentCompleted()
Called when add user consent is completed
-
onCombinedConsentCompleted
Unit onCombinedConsentCompleted(CombinedConsentResult combinedConsentResult)
-
onCaptchaCollected
Unit onCaptchaCollected(CaptchaResult captchaResult)
This method is called when captcha is entered
-
onUserAcceptedVideoSelfie
Unit onUserAcceptedVideoSelfie()
This method is called when user accepts video selfie recording
-
onVideoRecorded
Unit onVideoRecorded(VideoSelfieResult videoSelfieResult)
This method is called when video selfie recording is finished and uploaded.
-
onApproveCompleted
Unit onApproveCompleted(ApproveResult approveResult)
This method is called when user approval is completed
-
onResultsShown
Unit onResultsShown(UserScoreResult userScoreResult)
This method is called when show results is completed
-
onQueuePositionChanged
Unit onQueuePositionChanged(Integer newQueuePosition)
Called when queue position is updated. 0 means its your turn, 1 means there is one person in queue in front of you etc.
-
onEstimatedWaitingTime
Unit onEstimatedWaitingTime(Integer waitingTimeInSeconds)
Called only once with the estimated waiting time in the queue. Waiting time is in seconds.
-
onConferenceEnded
Unit onConferenceEnded()
Called when video conference ends
-
onUserCancelled
Unit onUserCancelled()
This method is called when user cancels the flow by pressing back
-
onOnboardingSectionCompleted
Unit onOnboardingSectionCompleted(String flowTag)
Called when an onboarding section is completed.
-
onIdScanReady
Unit onIdScanReady(NonUiIdScanController controller)
Called when the NonUiIdScanController is ready to be used.
- Parameters:
controller- Instance of NonUiIdScanController
-
onIdFrontCompleted
Unit onIdFrontCompleted(IdScanResult frontIdScanResult)
Called when the front of an ID or a Passport Photo page scan is completed.
- Parameters:
frontIdScanResult- Result from ID scan step
-
onIdBackCompleted
Unit onIdBackCompleted(IdScanResult backIdScanResult)
Called when the back of an ID scan is completed.
- Parameters:
backIdScanResult- Result from ID scan step
-
onIdProcessed
Unit onIdProcessed(IdProcessResult idProcessResult)
-
onEKYBChecksCompleted
Unit onEKYBChecksCompleted(EKYBResult ekybResult)
Called when EKYB checks are completed
- Parameters:
ekybResult- containing each check result for the form data.
-
onEKYCChecksCompleted
Unit onEKYCChecksCompleted(EKYCResult ekycResult)
-
onEvent
@Deprecated(message = "Use onEvent(eventResult: InterviewEventResult) instead.") Unit onEvent(Event event, HashMap<String, Object> eventData)
Called when event is being sent to the server
- Parameters:
event-event
eventData-additional parameters sent within event
-
onEvent
Unit onEvent(InterviewEventResult eventResult)
-
onCustomWatchlistProcessed
Unit onCustomWatchlistProcessed(CustomWatchlistResult customWatchlistResult)
-
onGlobalWatchlistProcessed
Unit onGlobalWatchlistProcessed(GlobalWatchlistResult globalWatchlistResult)
Called when the global watchlist is processed
- Parameters:
globalWatchlistResult- global watchlist result
-
onMachineLearningConsentCompleted
Unit onMachineLearningConsentCompleted(MachineLearningConsentResult result)
-
onNfcScanCompleted
Unit onNfcScanCompleted(NfcScanResult nfcScanResult)
Called when the NFC chip on an ID's scan is completed.
- Parameters:
nfcScanResult- Result from NFC scan step
-
onSSLPinningFailed
Unit onSSLPinningFailed()
This method is called when SSL Pinning Certificate fails
-
onIdInfoCompleted
Unit onIdInfoCompleted(IdInfoResult idInfoResult)
-
onAntifraudCompleted
Unit onAntifraudCompleted(AntifraudResult antifraudResult)
-
onTaxIdValidationCompleted
Unit onTaxIdValidationCompleted(Boolean isSuccess)
Called when Tax ID validation is completed.
true if the validation was successful, false otherwise.
-
onDynamicFormsCompleted
Unit onDynamicFormsCompleted(DynamicFormsResult dynamicFormsResult)
-
-
-
-