Checking the verification status

You can check the user ID verification status at any time after sending the user data to the ID Verification service. For example:

idvService.checkVerificationStatus()

You’ll receive the result in the registered NotificationHandler callback. For example:

public func handleResult(_ verificationResult: VerificationResult) {
    //Handle VerificationResult here
    let verifyStatus: VerifyStatus = verificationResult.getValidationStatus()
    //For a successful verification,
    let claims: [Claim]? = verificationResult.getValidationClaims()
    let userData: UserData? = verificationResult.getUserData()
    //For a failed verification,
    let errors: [ProviderError]? = verificationResult.getValidationErrors()
}