ReadableCodeConfiguration
data class ReadableCodeConfiguration(val isBatchModeEnabled: Boolean = false, val supportedCodeTypes: Set<ReadableCode.Type> = EnumSet.allOf(ReadableCode.Type::class.java), @ColorInt val highlightColor: Int = Color.GREEN, @ColorInt val menuColor: Int = Color.BLACK) : Parcelable
Configuration for readable code (barcode/QR code) scanning.
Properties
Link copied to clipboard
The highlight color used for the UI (overlay). Defaults to green. For good constrast, we recommend using a bright color.
Link copied to clipboard
Whether to enable batch mode (continuous scanning) or stop after first detection.
Link copied to clipboard
The set of barcode types to scan for. Restricting this improves performance.