BaseDocumentScannerActivity

Base class is to hold only code common for all Document- 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: DocumentScanningFlow) -> 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 finishWithResult(documentUuid: String)

Delivers scanned document content to the user.

Link copied to clipboard
open override fun onCreate(savedInstanceState: Bundle?)
Link copied to clipboard
open fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean