Package com.incode.welcome_sdk
Class OnboardingListenerWrapper
-
- 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.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.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 OnboardingListenerWrapper extends IncodeWelcome.OnboardingListener
-
-
Constructor Summary
Constructors Constructor Description OnboardingListenerWrapper(IncodeWelcome.OnboardingListener onboardingListener, Boolean isSubmitOnlyMode)
-
Method Summary
-
-
Constructor Detail
-
OnboardingListenerWrapper
OnboardingListenerWrapper(IncodeWelcome.OnboardingListener onboardingListener, Boolean isSubmitOnlyMode)
-
-
Method Detail
-
onEvent
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)
-
onUserCancelled
Unit onUserCancelled()
-
onOnboardingSectionCompleted
Unit onOnboardingSectionCompleted(String flowTag)
-
onAntifraudCompleted
Unit onAntifraudCompleted(AntifraudResult antifraudResult)
-
onDynamicFormsCompleted
Unit onDynamicFormsCompleted(DynamicFormsResult dynamicFormsResult)
-
onGlobalWatchlistProcessed
Unit onGlobalWatchlistProcessed(GlobalWatchlistResult globalWatchlistResult)
Called when the global watchlist is processed
- Parameters:
globalWatchlistResult
- global watchlist result
-
onOnboardingSessionCreated
Unit onOnboardingSessionCreated(String token, String interviewId, String region)
-
onQRScanCompleted
Unit onQRScanCompleted(QRScanResult qrScanResult)
-
onIdValidationCompleted
@Deprecated(message = "") Unit onIdValidationCompleted(IdValidationResult idValidationResult)
-
onCurpValidationCompleted
Unit onCurpValidationCompleted(CurpValidationResult curpValidationResult)
-
onDocumentValidationCompleted
Unit onDocumentValidationCompleted(DocumentType documentType, DocumentValidationResult documentValidationResult)
-
onSelfieScanCompleted
Unit onSelfieScanCompleted(SelfieScanResult selfieScanResult)
-
onFaceMatchCompleted
Unit onFaceMatchCompleted(FaceMatchResult faceMatchResult)
-
onGovernmentValidationCompleted
Unit onGovernmentValidationCompleted(Boolean success)
-
onSignatureCollected
Unit onSignatureCollected(SignatureFormResult signatureFormResult)
-
onUserConsentCompleted
Unit onUserConsentCompleted()
-
onCombinedConsentCompleted
Unit onCombinedConsentCompleted(CombinedConsentResult combinedConsentResult)
-
onMachineLearningConsentCompleted
Unit onMachineLearningConsentCompleted(MachineLearningConsentResult result)
-
onCustomWatchlistProcessed
Unit onCustomWatchlistProcessed(CustomWatchlistResult customWatchlistResult)
-
onAddPhoneCompleted
Unit onAddPhoneCompleted(PhoneNumberResult phoneNumberResult)
-
onAddEmailCompleted
Unit onAddEmailCompleted(EmailAddressResult emailAddressResult)
Called when add email is completed
- Parameters:
emailAddressResult
- Result of Email module
-
onEstimatedWaitingTime
Unit onEstimatedWaitingTime(Integer waitingTimeInSeconds)
-
onGeolocationFetched
Unit onGeolocationFetched(GeolocationResult geolocationResult)
-
onIntroCompleted
Unit onIntroCompleted()
-
onAddNameCompleted
Unit onAddNameCompleted(NameResult nameResult)
Called when add name is completed
- Parameters:
nameResult
- Result of Name Capture module
-
onApproveCompleted
Unit onApproveCompleted(ApproveResult approveResult)
-
onResultsShown
Unit onResultsShown(UserScoreResult userScoreResult)
-
onUserAcceptedVideoSelfie
Unit onUserAcceptedVideoSelfie()
-
onVideoRecorded
Unit onVideoRecorded(VideoSelfieResult videoSelfieResult)
This method is called when video selfie recording is finished and uploaded.
-
onCaptchaCollected
Unit onCaptchaCollected(CaptchaResult captchaResult)
-
onQueuePositionChanged
Unit onQueuePositionChanged(Integer newQueuePosition)
-
onConferenceEnded
Unit onConferenceEnded()
Called when video conference ends
-
onGeolocationUnavailable
Unit onGeolocationUnavailable(Throwable error)
-
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)
-
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()
-
onEKYCChecksCompleted
Unit onEKYCChecksCompleted(EKYCResult ekycResult)
-
onAESCompleted
Unit onAESCompleted(AESResult aesResult)
Called when AES module is completed
- Parameters:
aesResult
- Result of AES module
-
onEKYBChecksCompleted
Unit onEKYBChecksCompleted(EKYBResult ekybResult)
Called when EKYB checks are completed
- Parameters:
ekybResult
- containing each check result for the form data.
-
onIdInfoCompleted
Unit onIdInfoCompleted(IdInfoResult idInfoResult)
-
onTaxIdValidationCompleted
Unit onTaxIdValidationCompleted(Boolean isSuccess)
Called when Tax ID validation is completed.
true if the validation was successful, false otherwise.
-
-
-
-