Class BaseDocumentScannerActivity.InternalResultContract
-
- All Implemented Interfaces:
public abstract class BaseDocumentScannerActivity.InternalResultContract<R extends BaseDocumentScannerActivity.InternalResult>
Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.
Implementation of ActivityResultContract for Document RTU scanner activity.
Encapsulates all the hassle of input and result data mapping into- and from intent's bundle.
Please refer to Scanbot SDK documentation: https://docs.scanbot.io/document-scanner-sdk/android/features/feature-overview/
-
-
Constructor Summary
Constructors Constructor Description BaseDocumentScannerActivity.InternalResultContract(Class<?> activityClass, Context context)
-
Method Summary
Modifier and Type Method Description Intent
createIntent(Context context, DocumentScanningFlow input)
R
parseResult(Integer resultCode, Intent intent)
-
-
Method Detail
-
createIntent
Intent createIntent(Context context, DocumentScanningFlow input)
-
parseResult
R parseResult(Integer resultCode, Intent intent)
-
-
-
-