view controller should be initialised with available barcode types.