BaseDocumentCleanupActivity

Base class is to hold only code common for all DocumentCleanup- activities.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.

Properties

Link copied to clipboard
abstract val createView: (configuration: DocumentCleanupStandaloneConfiguration) -> Unit

Will be overridden by descendants that define their own composable views, but we need to call it in onCreate here.

Functions

Link copied to clipboard
fun finishWithError(documentUuid: String, pageUuid: String, errorMessage: String)

Delivers error to the user.

Link copied to clipboard
fun finishWithResult(documentUuid: String, pageUuid: String)

Delivers result to the user.

Link copied to clipboard

User wants to cancel cleanup.

Link copied to clipboard

Cancel cleanup because of the invalid license.

Link copied to clipboard
open override fun onCreate(savedInstanceState: Bundle?)