Scan a different kind of barcode

It’s possible to select different kind of barcode ?
Now in tapped button use multi instance of barcode and set different barcode.