BlinkCardCameraScanningScreen

fun BlinkCardCameraScanningScreen(blinkCardSdk: BlinkCardSdk, uxSettings: BlinkCardUxSettings = BlinkCardUxSettings(), uiSettings: UiSettings = UiSettings(), cameraSettings: CameraSettings = CameraSettings(), sessionSettings: BlinkCardSessionSettings = BlinkCardSessionSettings(), onScanningSuccess: (BlinkCardScanningResult) -> Unit, onScanningCanceled: () -> Unit)

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

Parameters

blinkCardSdk

The BlinkCardSdk instance used for card scanning.

uxSettings

The BlinkCardUxSettings used to customize the UX.

uiSettings

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

cameraSettings

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

sessionSettings

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

onScanningSuccess

A callback function invoked when a card is successfully captured. Receives the BlinkCardScanningResult as a parameter.

onScanningCanceled

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