DocumentCaptureScreen

fun DocumentCaptureScreen(onCloseAction: () -> Unit, documentsToCapture: List<DocumentTypeModel>, cameraToken: String, modifier: Modifier = Modifier)

Document capture feature. This will not upload any result. Set callback DocumentCaptureSdkCallback in AccountsSdk.setEventListener.

Parameters

onCloseAction

Action used to close this external composable.

documentsToCapture

Documents to be captured.

cameraToken

Camera token.

modifier

The modifier to be applied to the layout.