Implement the NotificationHandler interface in your class to handle VerificationResult or any errors occurring while processing notifications.
For example:
public interface NotificationHandler {
void handleResult(final VerificationResult verificationResult);
void handleError(final IdvError error);
}
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.