handleBarcodes
This interface describes what to do when the engine detected the barcode
Parameters
barcodeResult
the generated data from the engine. such as all the barcodes detected from the input frame
environmentData
the other environment info such as the camera resolution and rotation value.