Package io.scanbot.sdk.ui_v2.barcode
Class BarcodeScannerActivity.ResultContract
-
- All Implemented Interfaces:
public final class BarcodeScannerActivity.ResultContract extends BaseBarcodeScannerActivity.InternalResultContract<BarcodeScannerActivity.Result>
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.
-
-
Field Summary
Fields Modifier and Type Field Description private ResultRepository<BarcodeScannerUiResultInternal>
resultsRepository
-
Constructor Summary
Constructors Constructor Description BarcodeScannerActivity.ResultContract()
-
Method Summary
Modifier and Type Method Description ResultRepository<BarcodeScannerUiResultInternal>
getResultsRepository()
Unit
setResultsRepository(ResultRepository<BarcodeScannerUiResultInternal> resultsRepository)
-
-
-
Method Detail
-
getResultsRepository
ResultRepository<BarcodeScannerUiResultInternal> getResultsRepository()
-
setResultsRepository
Unit setResultsRepository(ResultRepository<BarcodeScannerUiResultInternal> resultsRepository)
-
-