-
public final class ScanResult extends ActivityResultContract<DocumentScannerConfiguration, Boolean>
An ActivityResultContract to start the document scan process, returning true if process finished successfully, false if user canceled the process.
If process was successful you can do a bunch of things, like generating a PDF (de.docutain.sdk.Document.writePDF, get the detected text, analyze data.
-
-
Constructor Summary
Constructors Constructor Description ScanResult()
-
Method Summary
Modifier and Type Method Description IntentcreateIntent(Context context, DocumentScannerConfiguration scanConfig)BooleanparseResult(Integer resultCode, Intent intent)-
-
Method Detail
-
createIntent
Intent createIntent(Context context, DocumentScannerConfiguration scanConfig)
-
parseResult
Boolean parseResult(Integer resultCode, Intent intent)
-
-
-
-