Package io.scanbot.sdk.ui.view.vin
Class VinScannerActivity.ResultContract
-
- All Implemented Interfaces:
public final class VinScannerActivity.ResultContract
Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.
Implementation of ActivityResultContract for VIN RTU scanner activity.
Encapsulates all the hassle of input and result data mapping into- and from intent's bundle.
-
-
Constructor Summary
Constructors Constructor Description VinScannerActivity.ResultContract()
-
Method Summary
Modifier and Type Method Description Intent
createIntent(Context context, VinScannerConfiguration input)
VinScannerActivity.Result
parseResult(Integer resultCode, Intent intent)
-
-
Method Detail
-
createIntent
Intent createIntent(Context context, VinScannerConfiguration input)
-
parseResult
VinScannerActivity.Result parseResult(Integer resultCode, Intent intent)
-
-
-
-