BaseBarcodeScannerActivity

Base class is to hold only code common for all Barcode- activities.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.

Properties

Link copied to clipboard
abstract val createView: (configuration: BarcodeScannerScreenConfiguration) -> Unit

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

Functions

Link copied to clipboard
fun finishWithResult(barcodeScanningResult: BarcodeScannerUiResult)

Delivers scanned barcode content to the user.

Link copied to clipboard
open override fun onCreate(savedInstanceState: Bundle?)