When to use onFrameRead and when to use onUniqueRead?
onFrameRead is triggered with each captured video frame, whether there are barcode results or not. If a barcode is within the frame, then it will show in the results of onFrameRead.
onUniqueRead is triggered once a new barcode is found. This event does not repeat for the same barcode until the duplicateForgetTime passes.