VerifyCameraScanningScreen

fun VerifyCameraScanningScreen(blinkIdVerifySdk: BlinkIdVerifySdk, uxSettings: VerifyUxSettings = VerifyUxSettings(), uiSettings: UiSettings = UiSettings(), cameraSettings: CameraSettings = CameraSettings(), sessionSettings: BlinkIdVerifySessionSettings = BlinkIdVerifySessionSettings(), onCaptureSuccess: (BlinkIdVerifyCaptureResult) -> Unit, onCaptureCanceled: () -> Unit)

Composable function that provides a complete camera scanning screen using the BlinkID Verify SDK.

This composable function sets up and manages the entire camera scanning process, including UI elements, camera interaction, and result handling. It uses the provided BlinkIdVerifySdk and BlinkIdVerifySessionSettings to configure the scanning session and provides callbacks for handling successful capture and cancellation.

Parameters

blinkIdVerifySdk

The BlinkIdVerifySdk instance used for document verification.

uiSettings

The UiSettings used to customize the UI. Defaults to UiSettings with default values.

cameraSettings

The CameraSettings used for document scanning. Defaults to CameraSettings with default values.

sessionSettings

The BlinkIdVerifySessionSettings used to configure the capture session. Defaults to BlinkIdVerifySessionSettings with default values.

onCaptureSuccess

A callback function invoked when a document is successfully captured. Receives the BlinkIdVerifyCaptureResult as a parameter.

onCaptureCanceled

A callback function invoked when the user cancels the scanning process.