Follow

How can I customize the UI?


Our scanner comes with several handy methods to customize the UI. These methods are in a class named ScanOverlay (the name might vary slightly based on the platform you are using). You can find this class inside your platform's documentation here.

The key components of this class are (again, naming can slightly vary accross platforms):

  • viewFinder: Lets you choose between three different aiming help: a white rectangle, a laser line, or nothing. You can also configure its size, color, etc.
  • guiStyle: Lets you pick your desired scan feedback.
  • torch: Lets you display a torch button to manually activate the torch while scanning.
  • cameraSwitch: Lets you display a camera switch button to manually switch between front and back camera while scanning.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request