BarcodeSettings

data class BarcodeSettings(val symbology: String)

This class holds all settings of a barcode type

Since

1.1.0

Parameters

symbology

an enum or string type representing the type of the barcode data. all possible values are within BarcodeInfo.allSupportedBarcodeSymbology

Constructors

Link copied to clipboard
fun BarcodeSettings(symbology: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getExtensions(): Map<String, Boolean>

Get extension of this symbology.

Link copied to clipboard
fun isSupportInverted(): Boolean

whether invert-color scan of this symbology is enabled. The default value is false.

Link copied to clipboard
fun setExtension(extension: String, value: Boolean)

Set extension of this symbology. The available extension is in com.samsung.android.knox.smartscan.barcode.constant.ExtensionConstants.

Link copied to clipboard
fun setSupportInverted(isSupported: Boolean)

To support enable/disable invert-color scan of this symbology.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val symbology: String