initScanningBehavior

abstract fun initScanningBehavior(barcodeScanner: BarcodeScanner, callback: IBarcodeScanCountViewCallback?)

This should be called as soon as you have an instance of the Document scanner. It is recommended to call it in onCreate of the Activity