BlinkIdCameraScanningScreen

fun BlinkIdCameraScanningScreen(blinkIdSdk: BlinkIdSdk, uxSettings: BlinkIdUxSettings = BlinkIdUxSettings(), uiSettings: UiSettings = UiSettings(), sessionSettings: BlinkIdSessionSettings = BlinkIdSessionSettings(), onScanningSuccess: (BlinkIdScanningResult) -> Unit, onScanningCanceled: () -> Unit)

Composable function that provides a complete camera scanning screen using the BlinkID 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 blinkIdSdk and BlinkIdSessionSettings to configure the scanning session and provides callbacks for handling successful capture and cancellation.

Parameters

blinkIdSdk

The BlinkIdSdk instance used for document scanning.

uxSettings

The BlinkIdUxSettings used to customize the UX.

uiSettings

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

sessionSettings

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

onScanningSuccess

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

onScanningCanceled

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