Advanced Configurations
MatrixScan Pick is optimized by default for efficiency, accuracy, and a seamless user experience. However, there are multiple advanced settings available to further customize MatrixScan Pick to best fit your needs.
BarcodePick Listener
You may want more fine-grained knowledge over the different events happening during the life of the BarcodePick
mode, such as when the search starts, pauses, and stops.
To do this, you can directly register a BarcodePickListener
on the mode itself, keeping in mind that these listeners are called from a background thread.
mode.addListener({
onObservationStarted() {
// The mode was started
},
onObservationStopped(foundItems: BarcodeFindItem[]) {
// The mode was stopped after the finish button was clicked
},
});