Implement the NotificationHandler interface in your class to handle VerificationResult or any errors occurring while processing notifications.

For example:

public protocol NotificationHandler {
    func handleResult(_ verificationResult: VerificationResult)
    func handleError(_ error: IdvError)
}

The VerificationResult object contains the verification status, and either a list of errors (if there’s a failed validation) or a list of claims (when there’s a successful validation).

The claims are stored by the SDK in encrypted storage. The claims can be used as a proof of ID verification, or the SDK can use the claims in any future verification requests, as long as the ID configuration data hasn’t changed.