VerifyCameraScanningScreen

fun VerifyCameraScanningScreen(blinkIdVerifySdk: BlinkIdVerifySdk, uxSettings: VerifyUxSettings = VerifyUxSettings(), uiSettings: UiSettings = UiSettings(), cameraSettings: CameraSettings = CameraSettings(), captureSessionSettings: VerifyCaptureSessionSettings = VerifyCaptureSessionSettings(), 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 VerifyCaptureSessionSettings 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 VerifyUiSettings with default values.

cameraSettings

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

captureSessionSettings

The VerifyCaptureSessionSettings used to configure the capture session. Defaults to CaptureSessionSettings 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.