Barcode Pick View Highlight Style Response

Defined in package com.scandit.datacapture.barcode.pick.ui

BarcodePickViewHighlightStyleResponse
class BarcodePickViewHighlightStyleResponse

Added in version 8.6.0

Create this object to respond to highlight style queries.

withBrushAndSelectedIcon(brush, selectedBrush, icon, selectedIcon, statusIconStyle)
fun BarcodePickViewHighlightStyleResponse.withBrushAndSelectedIcon(brush: Brush?,
        selectedBrush: Brush?,
        icon: ScanditIcon,
        selectedIcon: ScanditIcon?,
        statusIconStyle: BarcodePickStatusIconStyle?): BarcodePickViewHighlightStyleResponse

Added in version 8.6.0

Constructs a new instance with the passed brush and ScanditIcon icons.

withBrushAndIcon(brush, icon, statusIconStyle)
fun BarcodePickViewHighlightStyleResponse.withBrushAndIcon(brush: Brush?,
        icon: ScanditIcon,
        statusIconStyle: BarcodePickStatusIconStyle?): BarcodePickViewHighlightStyleResponse

Added in version 8.6.0

Constructs a new instance with the passed brush and ScanditIcon.

BarcodePickStatusIconStyle
class BarcodePickStatusIconStyle

Added in version 8.6.0

This holds the style data for the status icons.

withIcon(icon, text)
fun BarcodePickStatusIconStyle.withIcon(icon: ScanditIcon,
        text: String): BarcodePickStatusIconStyle

Added in version 8.6.0

Constructs a new instance that will display the provided icon and text.

withColors(iconColor, iconBackgroundColor, text)
fun BarcodePickStatusIconStyle.withColors(iconColor: Color,
        iconBackgroundColor: Color,
        text: String): BarcodePickStatusIconStyle

Added in version 8.6.0

Constructs a new instance that will display the default icon, an exclamation mark. The icon will be customized with the provided colors.