showErrorDialog

private final Unit showErrorDialog(SenseCryptSdkException error)

Show an error dialog to the user. It handles SenseCryptSdkException.LivenessFailed, SenseCryptSdkException.ExtremeHeadPoseDetected, and SenseCryptSdkException.CaptureSessionTimeOut via the UIHelper methods while leaving other errors to be handled by showGeneralErrorDialog.

Parameters

error

The error that occurred