Package io.scanbot.sdk.ui.view.barcode
Class InternalBarcodeScannerActivity.InternalResultContract
-
- All Implemented Interfaces:
public abstract class InternalBarcodeScannerActivity.InternalResultContract<R extends InternalBarcodeScannerActivity.InternalResult>
Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.
Implementation of ActivityResultContract for Barcode 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 InternalBarcodeScannerActivity.InternalResultContract(Class<?> activityClass)
-
Method Summary
Modifier and Type Method Description Intent
createIntent(Context context, BarcodeScannerConfiguration input)
R
parseResult(Integer resultCode, Intent intent)
-
-
Constructor Detail
-
InternalBarcodeScannerActivity.InternalResultContract
InternalBarcodeScannerActivity.InternalResultContract(Class<?> activityClass)
-
-
Method Detail
-
createIntent
Intent createIntent(Context context, BarcodeScannerConfiguration input)
-
parseResult
R parseResult(Integer resultCode, Intent intent)
-
-
-
-