Skip to main content

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.

barcodePickView.addListener(myListener);

class BarcodePickViewListenerImpl implements BarcodePickViewListener {

void didStartScanning(BarcodePickView view) {
// The view started scanning
}


void didFreezeScanning(BarcodePickView view) {
// The view was frozen
}


void didPauseScanning(BarcodePickView view) {
// The view was paused
}


void didStopScanning(BarcodePickView view) {
// The view stopped scanning
}
}