startDocumentCleanupScreen

abstract fun startDocumentCleanupScreen(configuration: DocumentCleanupStandaloneConfiguration, onResult: (Result<DocumentData>) -> Unit, onCanceled: () -> Unit? = null)

Opens the Ready-To-Use UI screen to clean up the document using the provided configuration.

Parameters

configuration

The configuration to be used for the cleanup RTU-UI.

onResult

Callback invoked with the updated document after cleanup.

onCanceled

Optional callback invoked if the cleanup screen is canceled or force closed.