Package io.scanbot.sdk.ui_v2.textpattern
Class TextPatternScannerActivity
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ui_v2.common.activity.Cancelable,io.scanbot.sdk.ui_v2.common.activity.Initializable,io.scanbot.sdk.ui_v2.common.activity.Licensable
public final class TextPatternScannerActivity extends BaseTextPatternScannerActivity
Represents camera screen for Barcodes scanning.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTextPatternScannerActivity.ResultContractPredefined 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.
public final classTextPatternScannerActivity.ResultWrapper-class for all information, obtained as a result of RTU activity work.
public classTextPatternScannerActivity.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Function1<TextPatternScannerScreenConfiguration, Unit>createViewpublic final static TextPatternScannerActivity.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description TextPatternScannerActivity()
-
Method Summary
Modifier and Type Method Description Function1<TextPatternScannerScreenConfiguration, Unit>getCreateView()Will be overridden by descendants that define their own composable views, but we need to call it in onCreate here. final static IntentnewIntent(Context context, TextPatternScannerScreenConfiguration scannerConfiguration)Factory method to construct intent to start this activity. static TextPatternScannerActivity.ResultextractResult(Integer resultCode, Intent data)Extract result entity encapsulating this RTU-activity's work. -
-
Method Detail
-
getCreateView
Function1<TextPatternScannerScreenConfiguration, Unit> getCreateView()
Will be overridden by descendants that define their own composable views, but we need to call it in onCreate here.
-
newIntent
@Deprecated(message = "Migrate to new AndroidX Result API. Please see ResultContract.") final static Intent newIntent(Context context, TextPatternScannerScreenConfiguration scannerConfiguration)
Factory method to construct intent to start this activity.
Deprecated: please see ResultContract
-
extractResult
static TextPatternScannerActivity.Result extractResult(Integer resultCode, Intent data)
Extract result entity encapsulating this RTU-activity's work.
-
-
-
-