initScanningBehavior

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