InternalBarcodeScannerActivity

Shares code common only for all non-batch-barcode scanning (standalone and bundle) activities.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Wrapper-class for all information, obtained as a result of RTU activity work.

Link copied to clipboard

Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.

Functions

Link copied to clipboard
open override fun onBarcodeConfirmed(result: BarcodeScannerResult)

Called when the user wants to confirm the scan result

Link copied to clipboard
open override fun onBarcodeRejected()

Called when the user rejected the scan result and wants to retry the scan

Link copied to clipboard
open fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: IntArray)
Link copied to clipboard
open override fun onResume()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open override fun provideLayoutId(): Int

Will be overridden by descendants that define their own layout, but we need to call it in onCreate here.