showCaptureSessionErrorDialog

public final Unit showCaptureSessionErrorDialog(Activity activity, Integer titleResId, Function0<Unit> onClose)

Show a face scan retry info dialog

Parameters

activity

The activity to show the info dialog in

onClose

The lambda to run when the info dialog is closed

Throws

if an info dialog is already showing