setFormat

open fun setFormat(format: BarcodeFormat)

Sets the BarcodeFormat to be displayed. For an enumeration of supported formats see BarcodeFormat.